]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 11 Jan 2025 10:36:14 +0000 (10:36 +0000)
commit05322beb290e1db30bef49b4364f8a8e6e9f7408
tree6f1cdf37a8ee3d15fa5fbe55112ffe519882a157
parent599e0fbf7d3dbbad0606143baa0ecccc510348ce
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>
meta/classes-recipe/nativesdk.bbclass