diff mbox series

[15/25] linux-libc-headers: Drop kernel-arch and set ARCH directly

Message ID 20260802102854.3952760-16-richard.purdie@linuxfoundation.org
State New
Headers show
Series Class file improvements | expand

Commit Message

Richard Purdie Aug. 2, 2026, 10:28 a.m. UTC
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 <richard.purdie@linuxfoundation.org>
---
 meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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"