kumquat-buildroot/package/kexec/kexec.mk

24 lines
572 B
Makefile
Raw Normal View History

2006-12-19 14:24:27 +01:00
#############################################################
#
# kexec
#
#############################################################
KEXEC_VERSION = 2.0.2
KEXEC_SOURCE = kexec-tools-$(KEXEC_VERSION).tar.bz2
KEXEC_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kexec
2006-12-19 14:24:27 +01:00
ifeq ($(BR2_PACKAGE_KEXEC_ZLIB),y)
KEXEC_CONF_OPT += --with-zlib
KEXEC_DEPENDENCIES = zlib
2006-12-19 14:24:27 +01:00
else
KEXEC_CONF_OPT += --without-zlib
2006-12-19 14:24:27 +01:00
endif
define KEXEC_REMOVE_LIB_TOOLS
rm -rf $(TARGET_DIR)/usr/lib/kexec-tools
endef
KEXEC_POST_INSTALL_TARGET_HOOKS += KEXEC_REMOVE_LIB_TOOLS
$(eval $(call AUTOTARGETS))