From: Denys Zagorui Date: Fri, 10 Feb 2023 17:29:58 +0000 (+0000) Subject: kernel-devsrc: powerpc: add missed dependency for modules_prepare X-Git-Tag: 2023-04-mickledore~504 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46705c47428a8d909518a0ed29dd2051f6321e2f;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git kernel-devsrc: powerpc: add missed dependency for modules_prepare There is an issue during 'make modules_prepare' execution for PPC_85xx: arch/powerpc/kernel/asm-offsets.c:58:10: fatal error: head_booke.h: No such file or directory 58 | #include "head_booke.h" | ^~~~~~~~~~~~~~ compilation terminated. make[1]: *** [scripts/Makefile.build:118: arch/powerpc/kernel/asm-offsets.s] Error 1 asm-offests.c has dependency on head_booke.h so add it to kernel-devsrc package Signed-off-by: Denys Zagorui Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb index 253b8d307d6..683f182c43b 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb @@ -215,6 +215,7 @@ do_install() { # v6,1+ cp -a --parents arch/powerpc/kernel/asm-offsets.c $kerneldir/build/ 2>/dev/null || : + cp -a --parents arch/powerpc/kernel/head_booke.h $kerneldir/build/ 2>/dev/null || : fi if [ "${ARCH}" = "riscv" ]; then cp -a --parents arch/riscv/kernel/vdso/*gettimeofday.* $kerneldir/build/