summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 4242f88544..c2c5bd5c25 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -23,11 +23,11 @@ SSTATEPOSTINSTFUNCS ?= ""
23python () { 23python () {
24 if bb.data.inherits_class('native', d): 24 if bb.data.inherits_class('native', d):
25 d.setVar('SSTATE_PKGARCH', d.getVar('BUILD_ARCH')) 25 d.setVar('SSTATE_PKGARCH', d.getVar('BUILD_ARCH'))
26 elif bb.data.inherits_class('crosssdk', d):
27 d.setVar('SSTATE_PKGARCH', d.expand("${BUILD_ARCH}_${SDK_ARCH}"))
26 elif bb.data.inherits_class('cross', d): 28 elif bb.data.inherits_class('cross', d):
27 d.setVar('SSTATE_PKGARCH', d.expand("${BUILD_ARCH}_${TUNE_PKGARCH}")) 29 d.setVar('SSTATE_PKGARCH', d.expand("${BUILD_ARCH}_${TUNE_PKGARCH}"))
28 d.setVar('SSTATE_MANMACH', d.expand("${BUILD_ARCH}_${MACHINE}")) 30 d.setVar('SSTATE_MANMACH', d.expand("${BUILD_ARCH}_${MACHINE}"))
29 elif bb.data.inherits_class('crosssdk', d):
30 d.setVar('SSTATE_PKGARCH', d.expand("${BUILD_ARCH}_${PACKAGE_ARCH}"))
31 elif bb.data.inherits_class('nativesdk', d): 31 elif bb.data.inherits_class('nativesdk', d):
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):