1 ################################################################################
5 ################################################################################
8 KEXEC_SOURCE
= kexec-tools-
$(KEXEC_VERSION
).
tar.xz
9 KEXEC_SITE
= $(BR2_KERNEL_MIRROR
)/linux
/utils
/kernel
/kexec
11 KEXEC_LICENSE_FILES
= COPYING
13 ifeq ($(BR2_PACKAGE_KEXEC_ZLIB
),y
)
14 KEXEC_CONF_OPTS
+= --with-zlib
15 KEXEC_DEPENDENCIES
= zlib
17 KEXEC_CONF_OPTS
+= --without-zlib
20 ifeq ($(BR2_PACKAGE_XZ
),y
)
21 KEXEC_CONF_OPTS
+= --with-lzma
22 KEXEC_DEPENDENCIES
+= xz
24 KEXEC_CONF_OPTS
+= --without-lzma
27 define KEXEC_REMOVE_LIB_TOOLS
28 rm -rf
$(TARGET_DIR
)/usr
/lib
/kexec-tools
31 KEXEC_POST_INSTALL_TARGET_HOOKS
+= KEXEC_REMOVE_LIB_TOOLS
33 $(eval
$(autotools-package
))