generic-poky/meta/recipes-kernel
Richard Purdie 52295fa3de Improve handling of 'all' architecture recipes and their interaction with sstate
The existing PACKAGE_ARCH = "all" mechanism of sharing packages is problematic
with sstate since there are a variety of variables which have target specific
values and the sstate package therefore correctly changes signature depending
on the MACHINE setting.

This patch creates a new "allarch" class which sets:

PACKAGE_ARCH = "all"

(as per the existing convention)

INHIBIT_DEFAULT_DEPS = "1"

(since its not target specific and therefore can't depend on the cross
compiler or target libc)

TARGET_ARCH = "all"
TARGET_OS = "linux"
TARGET_CC_ARCH = "none"

(since these variables shouldn't change between the different packages and
target compiler flags shouldn't be getting used)

PACKAGE_EXTRA_ARCHS = ""

(since we shouldn't be depending on any architecture specific package architectures)

Not all PACKAGE_ARCH = "all" recipes can use this class since some run configure
checks on the compiler. This means they have target specific components and therefore
the "all" classification is incorrect.

(From OE-Core rev: 26e5e5feb695864b11e47e24017e254c28f14494)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-31 13:07:00 +01:00
..
blktrace poky-default-revisions: move the SRCREV to recipe file 2011-05-04 15:06:36 +01:00
dtc dtc: fix compilation with gcc 4.6.0 2011-05-11 17:14:25 +01:00
hello-mod hello-mod: add a module for testing module.bbclass 2011-03-04 22:26:37 +00:00
kern-tools linux-yocto: detect and avoid branch revision checking for AUTOREV 2011-05-17 15:14:43 +01:00
kexec kexec-tools: fix compiler errors with gcc 4.6.0 2011-05-11 17:14:26 +01:00
latencytop recpies: add Upstream-Status for multiple recipes' patches 2011-05-13 10:28:59 +01:00
linux linux-yocto: update meta SRCREV 2011-05-31 08:53:25 +01:00
linux-firmware poky-default-revisions: move the SRCREV to recipe file 2011-05-04 15:06:36 +01:00
linux-libc-headers conf/bitbake.conf: Added variables for PR service. 2011-05-27 17:55:49 +01:00
lttng lttng-ust_0.12.bb: Fix compilation on uclibc 2011-05-10 09:56:19 +01:00
module-init-tools Upstream-Status update for several recipes 2011-05-17 15:14:43 +01:00
modutils modutils-cross: fix install issue 2011-05-20 12:43:32 +01:00
oprofile recpies: add Upstream-Status for multiple recipes' patches 2011-05-13 10:28:59 +01:00
powertop recpies: add Upstream-Status for multiple recipes' patches 2011-05-13 10:28:59 +01:00
sysprof poky-default-revisions: move the SRCREV to recipe file 2011-05-04 15:06:36 +01:00
systemtap systemtap: fix for compilation with gcc 4.6.0 2011-05-11 17:14:25 +01:00
trace-cmd poky-default-revisions: move the SRCREV to recipe file 2011-05-04 15:06:36 +01:00
update-modules Improve handling of 'all' architecture recipes and their interaction with sstate 2011-05-31 13:07:00 +01:00