summaryrefslogtreecommitdiffstats
path: root/meta
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:49:28 -0800
commit83dfb365a81248aa3453bd62e24d870aae862f0b (patch)
treeea2030d5f1cfb58665d3c4ee6d0f620cb2ae953d /meta
parent9d4c312a0f1bead09f7fea4d5a8a29af69bd32c7 (diff)
downloadpoky-83dfb365a81248aa3453bd62e24d870aae862f0b.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: 38b4992329459f2200817a848e8888b9284b4917) 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>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/nativesdk.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index e46739e325..39bd5a7224 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -23,6 +23,7 @@ RECIPE_SYSROOT = "${WORKDIR}/recipe-sysroot"
23# 23#
24PACKAGE_ARCH = "${SDK_ARCH}-${SDKPKGSUFFIX}" 24PACKAGE_ARCH = "${SDK_ARCH}-${SDKPKGSUFFIX}"
25PACKAGE_ARCHS = "${SDK_PACKAGE_ARCHS}" 25PACKAGE_ARCHS = "${SDK_PACKAGE_ARCHS}"
26TUNE_PKGARCH = "${SDK_ARCH}"
26 27
27# 28#
28# We need chrpath >= 0.14 to ensure we can deal with 32 and 64 bit 29# We need chrpath >= 0.14 to ensure we can deal with 32 and 64 bit