summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_base.bbclass
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2018-04-06 20:26:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-10 09:10:36 +0100
commit144faeb10c79cc50249143591c63e500cbb9849e (patch)
treed698fcc75f8341241ea013e98aba2bc9a04cfb37 /meta/classes/populate_sdk_base.bbclass
parent29f65bda6d2c9fea4adb125c4857ee64f9312b9f (diff)
downloadpoky-144faeb10c79cc50249143591c63e500cbb9849e.tar.gz
classes: Use ${MACHINE_ARCH} instead of ${MACHINE} for stamp-extra-info task flag
Without this change, there will be two sstate index files in tmp/sstate-control for any machine that contains a dash in the name. (From OE-Core rev: 29e7799bdb3773c40492e01448e0c614ed44583d) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_base.bbclass')
-rw-r--r--meta/classes/populate_sdk_base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index 77ec8aaec2..3560ef143c 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -156,7 +156,7 @@ SSTATE_SKIP_CREATION_task-populate-sdk = '1'
156do_populate_sdk[cleandirs] = "${SDKDEPLOYDIR}" 156do_populate_sdk[cleandirs] = "${SDKDEPLOYDIR}"
157do_populate_sdk[sstate-inputdirs] = "${SDKDEPLOYDIR}" 157do_populate_sdk[sstate-inputdirs] = "${SDKDEPLOYDIR}"
158do_populate_sdk[sstate-outputdirs] = "${SDK_DEPLOY}" 158do_populate_sdk[sstate-outputdirs] = "${SDK_DEPLOY}"
159do_populate_sdk[stamp-extra-info] = "${MACHINE}${SDKMACHINE}" 159do_populate_sdk[stamp-extra-info] = "${MACHINE_ARCH}${SDKMACHINE}"
160 160
161fakeroot create_sdk_files() { 161fakeroot create_sdk_files() {
162 cp ${COREBASE}/scripts/relocate_sdk.py ${SDK_OUTPUT}/${SDKPATH}/ 162 cp ${COREBASE}/scripts/relocate_sdk.py ${SDK_OUTPUT}/${SDKPATH}/