From d03d8036a48b96e16273d842b44c2b4335a9ff36 Mon Sep 17 00:00:00 2001 From: Arnaldo Garcia Rincon Date: Sat, 15 Jan 2022 00:22:15 +0000 Subject: [PATCH] kernel-5.10: include missing file for kernel-devel archive The kernel-devel archive in the 5.10 kernel is missing the sources for the 'hweight' tool for 'arm64', which causes compilation failures in out-of-tree kernel modules. Signed-off-by: Arnaldo Garcia Rincon --- packages/kernel-5.10/kernel-5.10.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kernel-5.10/kernel-5.10.spec b/packages/kernel-5.10/kernel-5.10.spec index 297f8fa0820..0bdaa7c62c9 100644 --- a/packages/kernel-5.10/kernel-5.10.spec +++ b/packages/kernel-5.10/kernel-5.10.spec @@ -171,7 +171,7 @@ sed -i \ find tools/{arch/%{_cross_karch},include,objtool,scripts}/ -type f ! -name \*.o -print echo tools/build/fixdep.c find tools/lib/subcmd -type f -print - find tools/lib/{ctype,rbtree,string,str_error_r}.c + find tools/lib/{ctype,hweight,rbtree,string,str_error_r}.c echo kernel/bounds.c echo kernel/time/timeconst.bc