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
|
|
|
|
2016-01-23 14:25:44 +01:00
|
|
|
KEXEC_VERSION = 2.0.11
|
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
|
2014-06-24 20:55:09 +02:00
|
|
|
KEXEC_LICENSE = GPLv2
|
|
|
|
KEXEC_LICENSE_FILES = COPYING
|
2006-12-19 14:24:27 +01:00
|
|
|
|
2008-12-08 09:15:27 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_KEXEC_ZLIB),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
KEXEC_CONF_OPTS += --with-zlib
|
2009-09-02 17:02:02 +02:00
|
|
|
KEXEC_DEPENDENCIES = zlib
|
2006-12-19 14:24:27 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
KEXEC_CONF_OPTS += --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))
|