summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-01-10 18:03:28 +0000
committerSteve Sakoman <steve@sakoman.com>2025-01-24 07:59:39 -0800
commit93c245a8686725b3b60cc253ed87131c74c27fdd (patch)
tree3162ee860e45f19ebcdc45df824cee79a3d12224
parenta1cc89914c1d8307301194a8032f5682976a980b (diff)
downloadpoky-93c245a8686725b3b60cc253ed87131c74c27fdd.tar.gz
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). (From OE-Core rev: 812cf123af5821c300c630cda35be8faed73b9d5) 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>
-rw-r--r--meta/classes-recipe/nativesdk.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes-recipe/nativesdk.bbclass b/meta/classes-recipe/nativesdk.bbclass
index de6debda93..83ea901fa5 100644
--- a/meta/classes-recipe/nativesdk.bbclass
+++ b/meta/classes-recipe/nativesdk.bbclass
@@ -32,6 +32,7 @@ RECIPE_SYSROOT = "${WORKDIR}/recipe-sysroot"
32# 32#
33PACKAGE_ARCH = "${SDK_ARCH}-${SDKPKGSUFFIX}" 33PACKAGE_ARCH = "${SDK_ARCH}-${SDKPKGSUFFIX}"
34PACKAGE_ARCHS = "${SDK_PACKAGE_ARCHS}" 34PACKAGE_ARCHS = "${SDK_PACKAGE_ARCHS}"
35TUNE_PKGARCH = "${SDK_ARCH}"
35 36
36# 37#
37# We need chrpath >= 0.14 to ensure we can deal with 32 and 64 bit 38# We need chrpath >= 0.14 to ensure we can deal with 32 and 64 bit