diff options
Diffstat (limited to 'meta/recipes-kernel/kexec/kexec-tools.inc')
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools.inc | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools.inc b/meta/recipes-kernel/kexec/kexec-tools.inc deleted file mode 100644 index c689bec1f9..0000000000 --- a/meta/recipes-kernel/kexec/kexec-tools.inc +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | SUMMARY = "Kexec fast reboot tools" | ||
2 | DESCRIPTION = "Kexec is a fast reboot feature that lets you reboot to a new Linux kernel" | ||
3 | AUTHOR = "Eric Biederman" | ||
4 | HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/kexec/" | ||
5 | SECTION = "kernel/userland" | ||
6 | LICENSE = "GPLv2" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a \ | ||
8 | file://kexec/kexec.c;beginline=1;endline=20;md5=af10f6ae4a8715965e648aa687ad3e09" | ||
9 | DEPENDS = "zlib xz" | ||
10 | |||
11 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz \ | ||
12 | file://kdump \ | ||
13 | file://kdump.conf \ | ||
14 | file://kdump.service \ | ||
15 | " | ||
16 | |||
17 | PR = "r1" | ||
18 | |||
19 | inherit autotools | ||
20 | |||
21 | COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*|powerpc.*|mips.*)-(linux|freebsd.*)' | ||
22 | |||
23 | INSANE_SKIP_${PN} = "arch" | ||
24 | |||
25 | do_compile_prepend() { | ||
26 | # Remove the prepackaged config.h from the source tree as it overrides | ||
27 | # the same file generated by configure and placed in the build tree | ||
28 | rm -f ${S}/include/config.h | ||
29 | |||
30 | # Remove the '*.d' file to make sure the recompile is OK | ||
31 | for dep in `find ${B} -type f -name '*.d'`; do | ||
32 | dep_no_d="`echo $dep | sed 's#.d$##'`" | ||
33 | # Remove file.d when there is a file.o | ||
34 | if [ -f "$dep_no_d.o" ]; then | ||
35 | rm -f $dep | ||
36 | fi | ||
37 | done | ||
38 | } | ||