]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.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>
Tue, 21 Jan 2025 20:33:25 +0000 (12:33 -0800)
commit812cf123af5821c300c630cda35be8faed73b9d5
tree23b5940c95ab8eafb509408263ebe82df4fdd612
parent54a7014a801ddbda2a7dfe1ab560a154064ad47e
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-recipe/nativesdk.bbclass