All of lore.kernel.org
 help / color / mirror / Atom feed
* [dunfell/master][PATCH] linux-libc-headers: handle removal of asm/kvm.h in kernel 5.8+
@ 2021-07-09  5:10 Denys Dmytriyenko
  0 siblings, 0 replies; only message in thread
From: Denys Dmytriyenko @ 2021-07-09  5:10 UTC (permalink / raw)
  To: meta-arago; +Cc: Denys Dmytriyenko

From: Denys Dmytriyenko <denys@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 <denys@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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-09  5:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-09  5:10 [dunfell/master][PATCH] linux-libc-headers: handle removal of asm/kvm.h in kernel 5.8+ Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.