]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-yocto: support externalsrc builds
authorBruce Ashfield <bruce.ashfield@windriver.com>
Wed, 28 Mar 2012 02:31:14 +0000 (22:31 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Mar 2012 08:23:51 +0000 (09:23 +0100)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass

index ce125b4cfb32d7644c5cd81c3363848113368ca7..b7e8b3243f6bbfa2a930cbfcec27175a327b2a6c 100644 (file)
@@ -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