Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] sstate: Set SSTAGE_PKGARCH for allarch packages to allow reuse
@ 2012-07-20 15:52 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-07-20 15:52 UTC (permalink / raw)
  To: openembedded-core

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>
---
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index d572f0e..ce2a7e2 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -32,6 +32,8 @@ 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")
     else:
         d.setVar('SSTATE_MANMACH', d.expand("${MACHINE}"))
 





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-20 16:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-20 15:52 [PATCH] sstate: Set SSTAGE_PKGARCH for allarch packages to allow reuse Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox