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/package.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/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 504c0232ef..9bba021efb 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -2234,7 +2234,7 @@ SSTATETASKS += "do_packagedata" | |||
2234 | do_packagedata[sstate-inputdirs] = "${PKGDESTWORK}" | 2234 | do_packagedata[sstate-inputdirs] = "${PKGDESTWORK}" |
2235 | do_packagedata[sstate-outputdirs] = "${PKGDATA_DIR}" | 2235 | do_packagedata[sstate-outputdirs] = "${PKGDATA_DIR}" |
2236 | do_packagedata[sstate-lockfile-shared] = "${PACKAGELOCK}" | 2236 | do_packagedata[sstate-lockfile-shared] = "${PACKAGELOCK}" |
2237 | do_packagedata[stamp-extra-info] = "${MACHINE}" | 2237 | do_packagedata[stamp-extra-info] = "${MACHINE_ARCH}" |
2238 | 2238 | ||
2239 | python do_packagedata_setscene () { | 2239 | python do_packagedata_setscene () { |
2240 | sstate_setscene(d) | 2240 | sstate_setscene(d) |