diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2012-03-27 22:31:14 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-28 10:09:16 +0100 |
commit | 6515bea3a42a6359f9712fb9f594169d0a6906be (patch) | |
tree | 16cc86339d029f75ff1963a1e34343d43ca8f9c3 /meta/classes/kernel-yocto.bbclass | |
parent | c73d382296aea6d9cd01076e87d61a9b9d890274 (diff) | |
download | poky-6515bea3a42a6359f9712fb9f594169d0a6906be.tar.gz |
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.
(From OE-Core rev: e3117fb15498c899282f25a195f3dd3dc889168c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r-- | 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 ce125b4cfb..b7e8b3243f 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -1,5 +1,7 @@ | |||
1 | S = "${WORKDIR}/linux" | 1 | S = "${WORKDIR}/linux" |
2 | 2 | ||
3 | # remove tasks that modify the source tree in case externalsrc is inherited | ||
4 | SRCTREECOVEREDTASKS += "do_kernel_link_vmlinux do_kernel_configme do_validate_branches do_kernel_configcheck do_kernel_checkout do_patch" | ||
3 | 5 | ||
4 | # returns local (absolute) path names for all valid patches in the | 6 | # returns local (absolute) path names for all valid patches in the |
5 | # src_uri | 7 | # src_uri |