[0/1] linux-yocto: fix externalsrc builds

Submitted by Bruce Ashfield on March 28, 2012, 2:31 a.m. | Patch ID: 24701


Message ID cover.1332901487.git.bruce.ashfield@windriver.com
State New
Headers show


git://git.pokylinux.org/poky-contrib zedd/kernel

Commit Message

Bruce Ashfield March 28, 2012, 2:31 a.m.

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 :)



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

Bruce Ashfield (1):
  linux-yocto: support externalsrc builds

 meta/classes/kernel-yocto.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)