mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-04 19:03:28 +08:00
de81f2e3bc
For release announce, see: https://lists.infradead.org/pipermail/kexec/2024-January/029156.html This commit removes the two package patches, which are now included in this new version. The "KEXEC_AUTORECONF = YES" is also removed, since it is no longer needed (due to the patch removal). Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
40 lines
1022 B
Makefile
40 lines
1022 B
Makefile
################################################################################
|
|
#
|
|
# kexec
|
|
#
|
|
################################################################################
|
|
|
|
KEXEC_VERSION = 2.0.28
|
|
KEXEC_SOURCE = kexec-tools-$(KEXEC_VERSION).tar.xz
|
|
KEXEC_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kexec
|
|
KEXEC_LICENSE = GPL-2.0
|
|
KEXEC_LICENSE_FILES = COPYING
|
|
KEXEC_CPE_ID_PRODUCT = kexec-tools
|
|
KEXEC_CPE_ID_VENDOR = kexec-tools_project
|
|
KEXEC_SELINUX_MODULES = kdump
|
|
|
|
# Makefile expects $STRIP -o to work, so needed for !BR2_STRIP_strip
|
|
KEXEC_MAKE_OPTS = STRIP="$(TARGET_CROSS)strip"
|
|
|
|
ifeq ($(BR2_PACKAGE_KEXEC_ZLIB),y)
|
|
KEXEC_CONF_OPTS += --with-zlib
|
|
KEXEC_DEPENDENCIES += zlib
|
|
else
|
|
KEXEC_CONF_OPTS += --without-zlib
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_XZ),y)
|
|
KEXEC_CONF_OPTS += --with-lzma
|
|
KEXEC_DEPENDENCIES += xz
|
|
else
|
|
KEXEC_CONF_OPTS += --without-lzma
|
|
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 $(autotools-package))
|