diff options
| author | Ross Burton <ross.burton@arm.com> | 2025-01-10 18:03:28 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-11 18:34:15 +0000 |
| commit | db4c8e1d715de276b241872ae483a2e2bd32e93d (patch) | |
| tree | 8e186be0ee097ec3080f7c8992927d6266e2db20 | |
| parent | 1c8ecbf09d8d4ca0c746e7a88767f3328ce950a2 (diff) | |
| download | poky-db4c8e1d715de276b241872ae483a2e2bd32e93d.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: 05322beb290e1db30bef49b4364f8a8e6e9f7408)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -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 |
