summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2012-03-27 22:31:14 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-28 09:23:51 +0100
commite3117fb15498c899282f25a195f3dd3dc889168c (patch)
tree4bf62fe942a8ba3609bc599c3d94b2cef60c3149
parent75b8adbc042e0f65fb1286bc550d02becd3b6aea (diff)
downloadopenembedded-core-e3117fb15498c899282f25a195f3dd3dc889168c.tar.gz
openembedded-core-e3117fb15498c899282f25a195f3dd3dc889168c.tar.bz2
openembedded-core-e3117fb15498c899282f25a195f3dd3dc889168c.tar.xz
openembedded-core-e3117fb15498c899282f25a195f3dd3dc889168c.zip
linux-yocto: support externalsrc builds
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>
-rw-r--r--meta/classes/kernel-yocto.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index ce125b4cf..b7e8b3243 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