diff options
author | Ross Burton <ross.burton@arm.com> | 2025-01-10 18:03:28 +0000 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-01-29 06:20:43 -0800 |
commit | 55d65739ef945db0a2af45239d6a7163a039d11a (patch) | |
tree | edb10ad238491155fffcd049758104264c999539 | |
parent | 05a5e1c1d73e2f965474d2af23840989841e9f8b (diff) | |
download | poky-55d65739ef945db0a2af45239d6a7163a039d11a.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: 9c64247b206efa72a52460a0b94734f7afc832e1)
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.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes-recipe/nativesdk.bbclass b/meta/classes-recipe/nativesdk.bbclass index b0634de582..4e57349aa0 100644 --- a/meta/classes-recipe/nativesdk.bbclass +++ b/meta/classes-recipe/nativesdk.bbclass | |||
@@ -32,6 +32,7 @@ RECIPE_SYSROOT = "${WORKDIR}/recipe-sysroot" | |||
32 | # | 32 | # |
33 | PACKAGE_ARCH = "${SDK_ARCH}-${SDKPKGSUFFIX}" | 33 | PACKAGE_ARCH = "${SDK_ARCH}-${SDKPKGSUFFIX}" |
34 | PACKAGE_ARCHS = "${SDK_PACKAGE_ARCHS}" | 34 | PACKAGE_ARCHS = "${SDK_PACKAGE_ARCHS}" |
35 | TUNE_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 |