In the interests of teasing apart the kernel classes, set ARCH directly in
the make commands and drop the then uneeded use of kernel-arch.

Signed-off-by: Richard Purdie <[email protected]>
---
 meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc 
b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
index 1f5c47f4533..c93966e3709 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
@@ -53,7 +53,7 @@ python __anonymous () {
 MAJ_VER = "${@oe.utils.trim_version("${PV}", 2).split('.')[0]}"
 MIN_VER = "${@oe.utils.trim_version("${PV}", 2).split('.')[1]}"
 
-inherit kernel-arch pkgconfig multilib_header
+inherit pkgconfig multilib_header
 
 KORG_ARCHIVE_COMPRESSION ?= "xz"
 
@@ -62,7 +62,7 @@ UPSTREAM_CHECK_URI = "https://www.kernel.org/";
 
 S = "${UNPACKDIR}/linux-${PV}"
 
-EXTRA_OEMAKE = " HOSTCC="${BUILD_CC}" HOSTCPP="${BUILD_CPP}""
+EXTRA_OEMAKE = " ARCH="${@oe.kernel.map_kernel_arch(d)}" HOSTCC="${BUILD_CC}" 
HOSTCPP="${BUILD_CPP}""
 
 do_configure[noexec] = "1"
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#242540): 
https://lists.openembedded.org/g/openembedded-core/message/242540
Mute This Topic: https://lists.openembedded.org/mt/120561031/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to