diff options
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index a8ae75101d..d08d950e76 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -72,6 +72,7 @@ BB_HASHFILENAME = "False ${SSTATE_PKGSPEC} ${SSTATE_SWSPEC}" | |||
72 | 72 | ||
73 | SSTATE_ARCHS = " \ | 73 | SSTATE_ARCHS = " \ |
74 | ${BUILD_ARCH} \ | 74 | ${BUILD_ARCH} \ |
75 | ${BUILD_ARCH}_${ORIGNATIVELSBSTRING} \ | ||
75 | ${BUILD_ARCH}_${SDK_ARCH}_${SDK_OS} \ | 76 | ${BUILD_ARCH}_${SDK_ARCH}_${SDK_OS} \ |
76 | ${BUILD_ARCH}_${TARGET_ARCH} \ | 77 | ${BUILD_ARCH}_${TARGET_ARCH} \ |
77 | ${SDK_ARCH}_${SDK_OS} \ | 78 | ${SDK_ARCH}_${SDK_OS} \ |
@@ -80,6 +81,7 @@ SSTATE_ARCHS = " \ | |||
80 | ${PACKAGE_ARCH} \ | 81 | ${PACKAGE_ARCH} \ |
81 | ${PACKAGE_EXTRA_ARCHS} \ | 82 | ${PACKAGE_EXTRA_ARCHS} \ |
82 | ${MACHINE_ARCH}" | 83 | ${MACHINE_ARCH}" |
84 | SSTATE_ARCHS[vardepsexclude] = "ORIGNATIVELSBSTRING" | ||
83 | 85 | ||
84 | SSTATE_MANMACH ?= "${SSTATE_PKGARCH}" | 86 | SSTATE_MANMACH ?= "${SSTATE_PKGARCH}" |
85 | 87 | ||
@@ -121,6 +123,8 @@ SSTATE_HASHEQUIV_REPORT_TASKDATA[doc] = "Report additional useful data to the \ | |||
121 | python () { | 123 | python () { |
122 | if bb.data.inherits_class('native', d): | 124 | if bb.data.inherits_class('native', d): |
123 | d.setVar('SSTATE_PKGARCH', d.getVar('BUILD_ARCH', False)) | 125 | d.setVar('SSTATE_PKGARCH', d.getVar('BUILD_ARCH', False)) |
126 | if d.getVar("PN") == "pseudo-native": | ||
127 | d.appendVar('SSTATE_PKGARCH', '_${ORIGNATIVELSBSTRING}') | ||
124 | elif bb.data.inherits_class('crosssdk', d): | 128 | elif bb.data.inherits_class('crosssdk', d): |
125 | d.setVar('SSTATE_PKGARCH', d.expand("${BUILD_ARCH}_${SDK_ARCH}_${SDK_OS}")) | 129 | d.setVar('SSTATE_PKGARCH', d.expand("${BUILD_ARCH}_${SDK_ARCH}_${SDK_OS}")) |
126 | elif bb.data.inherits_class('cross', d): | 130 | elif bb.data.inherits_class('cross', d): |