]> 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>
Thu, 24 Feb 2022 15:03:01 +0000 (16:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Feb 2022 15:43:55 +0000 (15:43 +0000)
commit20fcb2c809364b349249da2f7ffbdfbbeada73fa
treec0cd830569b7cf7c029ee4a28999ccb0a566d73f
parente22290d2ca2989c43b48b7528a0ad4a5743bf3c5
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