We can just access the function directly instead.
Signed-off-by: Richard Purdie <[email protected]>
---
meta/classes-recipe/toolchain-scripts.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/classes-recipe/toolchain-scripts.bbclass
b/meta/classes-recipe/toolchain-scripts.bbclass
index 8c062ef0e74..d94dcdee39b 100644
--- a/meta/classes-recipe/toolchain-scripts.bbclass
+++ b/meta/classes-recipe/toolchain-scripts.bbclass
@@ -4,7 +4,7 @@
# SPDX-License-Identifier: MIT
#
-inherit toolchain-scripts-base siteinfo kernel-arch meson-routines
+inherit toolchain-scripts-base siteinfo meson-routines
# We want to be able to change the value of MULTIMACH_TARGET_SYS, because it
# doesn't always match our expectations... but we default to the stock value
@@ -155,7 +155,7 @@ toolchain_shared_env_script () {
echo 'export KCFLAGS="--sysroot=$SDKTARGETSYSROOT"' >> $script
echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
- echo 'export ARCH=${ARCH}' >> $script
+ echo 'export ARCH=${@oe.kernel.map_kernel_arch(d)}' >> $script
echo 'export CROSS_COMPILE=${TARGET_PREFIX}' >> $script
echo 'export OECORE_TUNE_CCARGS="${TUNE_CCARGS}"' >> $script
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#242541):
https://lists.openembedded.org/g/openembedded-core/message/242541
Mute This Topic: https://lists.openembedded.org/mt/120561032/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-