[oe-commits] Richard Purdie : sstate: Set SSTAGE_PKGARCH for allarch packages to allow reuse
git at git.openembedded.org
git at git.openembedded.org
Sun Jul 22 10:44:10 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: f3104240ad5bb542c339ee29b2672523ad3ae50c
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f3104240ad5bb542c339ee29b2672523ad3ae50c
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Fri Jul 20 16:52:55 2012 +0100
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 at linuxfoundation.org>
---
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 d572f0e..570b371 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}"))
More information about the Openembedded-commits
mailing list