diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2018-04-06 20:26:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-10 09:10:36 +0100 |
commit | 144faeb10c79cc50249143591c63e500cbb9849e (patch) | |
tree | d698fcc75f8341241ea013e98aba2bc9a04cfb37 /meta/classes/populate_sdk_base.bbclass | |
parent | 29f65bda6d2c9fea4adb125c4857ee64f9312b9f (diff) | |
download | poky-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.bbclass | 2 |
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' | |||
156 | do_populate_sdk[cleandirs] = "${SDKDEPLOYDIR}" | 156 | do_populate_sdk[cleandirs] = "${SDKDEPLOYDIR}" |
157 | do_populate_sdk[sstate-inputdirs] = "${SDKDEPLOYDIR}" | 157 | do_populate_sdk[sstate-inputdirs] = "${SDKDEPLOYDIR}" |
158 | do_populate_sdk[sstate-outputdirs] = "${SDK_DEPLOY}" | 158 | do_populate_sdk[sstate-outputdirs] = "${SDK_DEPLOY}" |
159 | do_populate_sdk[stamp-extra-info] = "${MACHINE}${SDKMACHINE}" | 159 | do_populate_sdk[stamp-extra-info] = "${MACHINE_ARCH}${SDKMACHINE}" |
160 | 160 | ||
161 | fakeroot create_sdk_files() { | 161 | fakeroot create_sdk_files() { |
162 | cp ${COREBASE}/scripts/relocate_sdk.py ${SDK_OUTPUT}/${SDKPATH}/ | 162 | cp ${COREBASE}/scripts/relocate_sdk.py ${SDK_OUTPUT}/${SDKPATH}/ |