]> code.ossystems Code Review - openembedded-core.git/commit
sstate: do not add TARGET_ARCH to pkgarch for cross recipes.
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sat, 26 Feb 2022 15:02:16 +0000 (16:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Mar 2022 18:41:52 +0000 (18:41 +0000)
commit33fc1792cd782feb8dbb4285e3006bb588f7978f
treec0699b39981b2eccdcdd191d7b50f395228d6198
parentc3773cd6c44dfe82be9ecd248120e7d6c753f891
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.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass
meta/lib/oe/sstatesig.py