diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-02-26 16:02:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-02 18:43:24 +0000 |
commit | c486c6609a77d50a60f582ce53b592a717ec9b16 (patch) | |
tree | 6a3712618ca5880388193fecb8b44ca0cbeb1562 /meta/lib/oe | |
parent | eec3bbdd27652aec93f32a61c984c6e633e824bc (diff) | |
download | poky-c486c6609a77d50a60f582ce53b592a717ec9b16.tar.gz |
sstate: do not add TARGET_ARCH to pkgarch for cross recipes.
This is redundant (target arch is already in PN), and breaks
compiling a cross-canadian toolchain, as that needs populating the
sysroot with two different native-hosted toolchains built from
cross recipes. Inserting TARGET_ARCH allows only one or the other.
(From OE-Core rev: 33fc1792cd782feb8dbb4285e3006bb588f7978f)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/sstatesig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index abcd96231e..2cf858e201 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
@@ -443,7 +443,7 @@ def find_sstate_manifest(taskdata, taskdata2, taskname, d, multilibcache): | |||
443 | elif "-cross-canadian" in taskdata: | 443 | elif "-cross-canadian" in taskdata: |
444 | pkgarchs = ["${SDK_ARCH}_${SDK_ARCH}-${SDKPKGSUFFIX}"] | 444 | pkgarchs = ["${SDK_ARCH}_${SDK_ARCH}-${SDKPKGSUFFIX}"] |
445 | elif "-cross-" in taskdata: | 445 | elif "-cross-" in taskdata: |
446 | pkgarchs = ["${BUILD_ARCH}_${TARGET_ARCH}"] | 446 | pkgarchs = ["${BUILD_ARCH}"] |
447 | elif "-crosssdk" in taskdata: | 447 | elif "-crosssdk" in taskdata: |
448 | pkgarchs = ["${BUILD_ARCH}_${SDK_ARCH}_${SDK_OS}"] | 448 | pkgarchs = ["${BUILD_ARCH}_${SDK_ARCH}_${SDK_OS}"] |
449 | else: | 449 | else: |