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

login
register
mail settings
Submitter Bruce Ashfield
Date March 28, 2012, 2:31 a.m.
Message ID <cover.1332901487.git.bruce.ashfield@windriver.com>
Download mbox
Permalink /patch/24701/
State New
Headers show

Pull-request

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

Comments

Bruce Ashfield - March 28, 2012, 2:31 a.m.
Richard/Saul,

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

Cheers,

Bruce

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
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

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

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