2010-11-24 21:15:59 +00:00
|
|
|
SUMMARY = "Kexec fast reboot tools"
|
2008-04-08 15:09:33 +00:00
|
|
|
DESCRIPTION = "Kexec is a fast reboot feature that lets you reboot to a new Linux kernel"
|
|
|
|
AUTHOR = "Eric Biederman"
|
2010-11-16 01:51:18 +00:00
|
|
|
HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/kexec/"
|
2008-04-08 15:09:33 +00:00
|
|
|
SECTION = "kernel/userland"
|
2010-07-02 02:09:04 +00:00
|
|
|
LICENSE = "GPLv2"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a \
|
|
|
|
file://kexec/kexec.c;beginline=1;endline=20;md5=af10f6ae4a8715965e648aa687ad3e09"
|
2012-10-17 13:50:19 +00:00
|
|
|
DEPENDS = "zlib xz"
|
2008-04-08 15:09:33 +00:00
|
|
|
|
2015-12-11 06:16:53 +00:00
|
|
|
SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz \
|
|
|
|
file://kdump \
|
|
|
|
file://kdump.conf \
|
|
|
|
"
|
2010-07-02 02:09:04 +00:00
|
|
|
|
2015-01-13 03:08:51 +00:00
|
|
|
PR = "r1"
|
|
|
|
|
|
|
|
inherit autotools
|
2008-04-08 15:09:33 +00:00
|
|
|
|
2014-12-18 08:51:10 +00:00
|
|
|
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*|powerpc.*|mips.*)-(linux|freebsd.*)'
|
2011-10-01 15:05:34 +00:00
|
|
|
|
|
|
|
INSANE_SKIP_${PN} = "arch"
|
2014-08-07 03:05:22 +00:00
|
|
|
|
|
|
|
do_compile_prepend() {
|
2016-06-03 09:14:57 +00:00
|
|
|
# Remove the prepackaged config.h from the source tree as it overrides
|
|
|
|
# the same file generated by configure and placed in the build tree
|
|
|
|
rm -f ${S}/include/config.h
|
|
|
|
|
2014-08-07 03:05:22 +00:00
|
|
|
# Remove the '*.d' file to make sure the recompile is OK
|
|
|
|
for dep in `find ${B} -type f -name '*.d'`; do
|
|
|
|
dep_no_d="`echo $dep | sed 's#.d$##'`"
|
|
|
|
# Remove file.d when there is a file.o
|
|
|
|
if [ -f "$dep_no_d.o" ]; then
|
|
|
|
rm -f $dep
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
}
|