* [PATCH 0/1] linux-yocto: fix externalsrc builds
@ 2012-03-28 2:31 Bruce Ashfield
2012-03-28 2:31 ` [PATCH 1/1] linux-yocto: support " Bruce Ashfield
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ashfield @ 2012-03-28 2:31 UTC (permalink / raw)
To: richard.purdie; +Cc: openembedded-core, saul.wold
Richard/Saul,
This is a fix for externalsrc builds when the linux-yocto bbclass
is used.
The commit tells most of the story:
-----
There are a few extra task that modify the source tree that should
be removed when externalsrc is inherited by a recipe that uses a
linux-yocto tree.
Adding those tasks to SRCTREECOVEREDTASKS means that they are skipped
and externalsrc works as intended.
-----
You'll note that do_patch is repeated in SRCTREECOVEREDTASKS here,
since my tested showed that only having it in externalsrc.bbclass
did not inhibit the kernel-yocto.bbclass variant from running
There's no impact if externalsrc isn't being used, so this is a
safe change (from where I stand :)
Cheers,
Bruce
The following changes since commit 7b01671f54f70c28c98457058c51ffefcb07c0e8:
nspr 4.8.9: failed to build on x86_64 board (2012-03-27 13:26:37 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib zedd/kernel
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel
Bruce Ashfield (1):
linux-yocto: support externalsrc builds
meta/classes/kernel-yocto.bbclass | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
--
1.7.5.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] linux-yocto: support externalsrc builds
2012-03-28 2:31 [PATCH 0/1] linux-yocto: fix externalsrc builds Bruce Ashfield
@ 2012-03-28 2:31 ` Bruce Ashfield
2012-03-28 9:12 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ashfield @ 2012-03-28 2:31 UTC (permalink / raw)
To: richard.purdie; +Cc: openembedded-core, saul.wold
There are a few extra task that modify the source tree that should
be removed when externalsrc is inherited by a recipe that uses a
linux-yocto tree.
Adding those tasks to SRCTREECOVEREDTASKS means that they are skipped
and externalsrc works as intended.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
meta/classes/kernel-yocto.bbclass | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index ce125b4..b7e8b32 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -1,5 +1,7 @@
S = "${WORKDIR}/linux"
+# remove tasks that modify the source tree in case externalsrc is inherited
+SRCTREECOVEREDTASKS += "do_kernel_link_vmlinux do_kernel_configme do_validate_branches do_kernel_configcheck do_kernel_checkout do_patch"
# returns local (absolute) path names for all valid patches in the
# src_uri
--
1.7.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 1/1] linux-yocto: support externalsrc builds
2012-03-28 2:31 ` [PATCH 1/1] linux-yocto: support " Bruce Ashfield
@ 2012-03-28 9:12 ` Richard Purdie
0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2012-03-28 9:12 UTC (permalink / raw)
To: Bruce Ashfield; +Cc: openembedded-core, saul.wold
On Tue, 2012-03-27 at 22:31 -0400, Bruce Ashfield wrote:
> There are a few extra task that modify the source tree that should
> be removed when externalsrc is inherited by a recipe that uses a
> linux-yocto tree.
>
> Adding those tasks to SRCTREECOVEREDTASKS means that they are skipped
> and externalsrc works as intended.
>
> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
> ---
> meta/classes/kernel-yocto.bbclass | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-28 9:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-28 2:31 [PATCH 0/1] linux-yocto: fix externalsrc builds Bruce Ashfield
2012-03-28 2:31 ` [PATCH 1/1] linux-yocto: support " Bruce Ashfield
2012-03-28 9:12 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox