summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-20 16:52:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-22 11:42:23 +0100
commite18ae61b60c620dd88883ba4a5336be19437b5ca (patch)
tree37628885c77ed5dbf704f4c02867c1e48ad1efa4 /meta/classes
parent7fb076a1e0051bb9a931199e36feb518eb2b737f (diff)
downloadpoky-e18ae61b60c620dd88883ba4a5336be19437b5ca.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. (From OE-Core rev: f3104240ad5bb542c339ee29b2672523ad3ae50c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/sstate.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index d572f0edcf..570b371daa 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -32,6 +32,9 @@ python () {
32 d.setVar('SSTATE_PKGARCH', d.expand("${SDK_ARCH}")) 32 d.setVar('SSTATE_PKGARCH', d.expand("${SDK_ARCH}"))
33 elif bb.data.inherits_class('cross-canadian', d): 33 elif bb.data.inherits_class('cross-canadian', d):
34 d.setVar('SSTATE_PKGARCH', d.expand("${SDK_ARCH}_${PACKAGE_ARCH}")) 34 d.setVar('SSTATE_PKGARCH', d.expand("${SDK_ARCH}_${PACKAGE_ARCH}"))
35 elif bb.data.inherits_class('allarch', d):
36 d.setVar('SSTATE_PKGARCH', "allarch")
37 d.setVar('SSTATE_MANMACH', d.expand("allarch_${MACHINE}"))
35 else: 38 else:
36 d.setVar('SSTATE_MANMACH', d.expand("${MACHINE}")) 39 d.setVar('SSTATE_MANMACH', d.expand("${MACHINE}"))
37 40