]> code.ossystems Code Review - openembedded-core.git/commit
packagegroup/allarch: Convert to use allarch class
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 25 Nov 2012 20:23:42 +0000 (20:23 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Nov 2012 10:00:27 +0000 (10:00 +0000)
commit591fa7c1ab9e9ff75fdce602c77ecdeda3a255d9
tree61c607a5c2b749978461dd67aa9cba71156bad08
parent7dd91402b719ac62b51088f234354f82bfa9c4b6
packagegroup/allarch: Convert to use allarch class

Currently there is some odd behaviour of the packagegroup class in relation
to sstate since it sets PACKAGE_ARCH = "all" but does not use the allarch class
leading to it being undetected by sstate.

Previously it was not possible to use allarch as the recipe couldn't "undo"
settings made by the allarch class. Since this no longer happens when
PACKAGE_ARCH != all, we can use the allarch class.

This patch also fixes up one case we need to preserve TRANSLATED_TARGET_ARCH
and ensures sstate only assumes allarch when PACKAGE_ARCH is "all".

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/packagegroup.bbclass
meta/classes/sstate.bbclass
meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb