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.inc28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools.inc b/meta/recipes-kernel/kexec/kexec-tools.inc
new file mode 100644
index 0000000000..7e3b7adfc7
--- /dev/null
+++ b/meta/recipes-kernel/kexec/kexec-tools.inc
@@ -0,0 +1,28 @@
1SUMMARY = "Kexec fast reboot tools"
2DESCRIPTION = "Kexec is a fast reboot feature that lets you reboot to a new Linux kernel"
3AUTHOR = "Eric Biederman"
4HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/kexec/"
5SECTION = "kernel/userland"
6LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a \
8 file://kexec/kexec.c;beginline=1;endline=20;md5=af10f6ae4a8715965e648aa687ad3e09"
9DEPENDS = "zlib xz"
10
11SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz"
12
13inherit autotools-brokensep
14
15COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*|mips.*)-(linux|freebsd.*)'
16
17INSANE_SKIP_${PN} = "arch"
18
19do_compile_prepend() {
20 # Remove the '*.d' file to make sure the recompile is OK
21 for dep in `find ${B} -type f -name '*.d'`; do
22 dep_no_d="`echo $dep | sed 's#.d$##'`"
23 # Remove file.d when there is a file.o
24 if [ -f "$dep_no_d.o" ]; then
25 rm -f $dep
26 fi
27 done
28}