| Submitter | Bruce Ashfield |
|---|---|
| Date | March 28, 2012, 2:31 a.m. |
| Message ID | <51492db5e0226485b065e10fe41ecb9070a6f2d2.1332901487.git.bruce.ashfield@windriver.com> |
| Download | mbox | patch |
| Permalink | /patch/24703/ |
| State | Accepted |
| Commit | e3117fb15498c899282f25a195f3dd3dc889168c |
| Headers | show |
Comments
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
Patch
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
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(-)