From: Denys Dmytriyenko <de...@konsulko.com>

Multilib handling is done in linux-libc-headers.inc in oe-core and the version
in dunfell handles the list for 5.4, while the list for 5.10 has no asm/kvm.h
due to kernel commit: 541ad0150ca4 [arm: Remove 32bit KVM host support].

Fixes this error on ARM32 platforms when using internal toolchain:
ERROR: linux-libc-headers-5.10-r0.arago0 do_install: oe_multilib_header: Unable 
to find header asm/kvm.h.

Also, dependency on rsync-native is now upstream.

Signed-off-by: Denys Dmytriyenko <de...@konsulko.com>
---
 .../recipes-kernel/linux-libc-headers/linux-libc-headers_5.10.bb  | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git 
a/meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_5.10.bb
 
b/meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_5.10.bb
index 353d8b5..7f4343d 100644
--- 
a/meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_5.10.bb
+++ 
b/meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_5.10.bb
@@ -2,8 +2,6 @@ require recipes-kernel/linux-libc-headers/linux-libc-headers.inc
 
 PR_append = ".arago0"
 
-DEPENDS += "rsync-native"
-
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 BRANCH = "ti-linux-5.10.y"
@@ -14,3 +12,9 @@ KERNEL_GIT_PROTOCOL = "git"
 SRC_URI = "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH}"
 
 S = "${WORKDIR}/git"
+
+# below overrides the multilib list - can be dropped for the next LTS
+do_install_armmultilib () {
+       oe_multilib_header asm/auxvec.h asm/bitsperlong.h asm/byteorder.h 
asm/fcntl.h asm/hwcap.h asm/ioctls.h asm/kvm_para.h asm/mman.h asm/param.h 
asm/perf_regs.h asm/bpf_perf_event.h
+       oe_multilib_header asm/posix_types.h asm/ptrace.h  asm/setup.h  
asm/sigcontext.h asm/siginfo.h asm/signal.h asm/stat.h  asm/statfs.h asm/swab.h 
 asm/types.h asm/unistd.h
+}
-- 
2.7.4

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to