2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2006-12-19 14:24:27 +01:00
|
|
|
#
|
|
|
|
# kexec
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-19 07:12:41 +01:00
|
|
|
|
2014-02-06 07:17:56 +01:00
|
|
|
KEXEC_VERSION = 2.0.5
|
2013-03-19 07:12:41 +01:00
|
|
|
KEXEC_SOURCE = kexec-tools-$(KEXEC_VERSION).tar.xz
|
2011-01-14 22:53:03 +01:00
|
|
|
KEXEC_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kexec
|
2006-12-19 14:24:27 +01:00
|
|
|
|
2008-12-08 09:15:27 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_KEXEC_ZLIB),y)
|
2009-02-21 20:13:24 +01:00
|
|
|
KEXEC_CONF_OPT += --with-zlib
|
2009-09-02 17:02:02 +02:00
|
|
|
KEXEC_DEPENDENCIES = zlib
|
2006-12-19 14:24:27 +01:00
|
|
|
else
|
2009-02-21 20:13:24 +01:00
|
|
|
KEXEC_CONF_OPT += --without-zlib
|
2006-12-19 14:24:27 +01:00
|
|
|
endif
|
|
|
|
|
2010-09-02 00:06:18 +02:00
|
|
|
define KEXEC_REMOVE_LIB_TOOLS
|
2009-02-21 20:13:24 +01:00
|
|
|
rm -rf $(TARGET_DIR)/usr/lib/kexec-tools
|
2010-09-02 00:06:18 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
KEXEC_POST_INSTALL_TARGET_HOOKS += KEXEC_REMOVE_LIB_TOOLS
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|