summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kexec/kexec-tools.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/kexec/kexec-tools.inc')
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools.inc b/meta/recipes-kernel/kexec/kexec-tools.inc
index 758a3a78b8..bdfe024a79 100644
--- a/meta/recipes-kernel/kexec/kexec-tools.inc
+++ b/meta/recipes-kernel/kexec/kexec-tools.inc
@@ -22,6 +22,10 @@ COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*|powerpc.*|mips.*)-(linux|fre
22INSANE_SKIP_${PN} = "arch" 22INSANE_SKIP_${PN} = "arch"
23 23
24do_compile_prepend() { 24do_compile_prepend() {
25 # Remove the prepackaged config.h from the source tree as it overrides
26 # the same file generated by configure and placed in the build tree
27 rm -f ${S}/include/config.h
28
25 # Remove the '*.d' file to make sure the recompile is OK 29 # Remove the '*.d' file to make sure the recompile is OK
26 for dep in `find ${B} -type f -name '*.d'`; do 30 for dep in `find ${B} -type f -name '*.d'`; do
27 dep_no_d="`echo $dep | sed 's#.d$##'`" 31 dep_no_d="`echo $dep | sed 's#.d$##'`"