]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
classes/nativesdk: also override TUNE_PKGARCH
authorRoss Burton <ross.burton@arm.com>
Fri, 10 Jan 2025 18:03:28 +0000 (18:03 +0000)
committerSteve Sakoman <steve@sakoman.com>
Mon, 20 Jan 2025 14:06:07 +0000 (06:06 -0800)
commit38b4992329459f2200817a848e8888b9284b4917
treecbbaa0a73e99a8e8dbed67207c0d8e30d108dbce
parent2effc054b1484dd3c87652267bf590c17d2d6f76
classes/nativesdk: also override TUNE_PKGARCH

The nativesdk class overrides PACKAGE_ARCH and unsets TUNE_FEATURES, but
as recipes might want to look at TUNE_PKGARCH too (for example, when
setting QEMU_EXTRAOPTIONS) we should also override that variable.

Otherwise, a nativesdk recipe will have the TUNE_PKGARCH of the target,
which leads to errors (eg passing mips arguments to an arm qemu).

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 05322beb290e1db30bef49b4364f8a8e6e9f7408)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/nativesdk.bbclass