diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-20 16:52:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-22 11:40:10 +0100 |
commit | f3104240ad5bb542c339ee29b2672523ad3ae50c (patch) | |
tree | 4bda4068acd2931e972ff85525cf9f0ba475322f /meta/classes/sstate.bbclass | |
parent | 79e52a9825240a72b49a5c3f3ad8e0dbc74ad9f1 (diff) | |
download | openembedded-core-contrib-f3104240ad5bb542c339ee29b2672523ad3ae50c.tar.gz |
sstate: Set SSTAGE_PKGARCH for allarch packages to allow reuse
allarch sstate packages could be marked as machine or package_arch specific. This
change ensures they are not.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index d572f0edcfd..570b371daac 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -32,6 +32,9 @@ python () { d.setVar('SSTATE_PKGARCH', d.expand("${SDK_ARCH}")) elif bb.data.inherits_class('cross-canadian', d): d.setVar('SSTATE_PKGARCH', d.expand("${SDK_ARCH}_${PACKAGE_ARCH}")) + elif bb.data.inherits_class('allarch', d): + d.setVar('SSTATE_PKGARCH', "allarch") + d.setVar('SSTATE_MANMACH', d.expand("allarch_${MACHINE}")) else: d.setVar('SSTATE_MANMACH', d.expand("${MACHINE}")) |