Move all to deprecated folder.
This commit is contained in:
20
deprecated/firmware/buildroot/package/kexec/Config.in
Normal file
20
deprecated/firmware/buildroot/package/kexec/Config.in
Normal file
@@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_KEXEC
|
||||
bool "kexec"
|
||||
depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_armeb || \
|
||||
BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el || \
|
||||
BR2_powerpc || BR2_sh4 || BR2_sh4a
|
||||
help
|
||||
Kexec is a user space utility for loading another kernel
|
||||
and asking the currently running kernel to do something with it.
|
||||
|
||||
https://www.kernel.org/pub/linux/utils/kernel/kexec/
|
||||
|
||||
if BR2_PACKAGE_KEXEC
|
||||
|
||||
config BR2_PACKAGE_KEXEC_ZLIB
|
||||
bool "zlib support"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
Support for compressed kernel images
|
||||
|
||||
endif
|
||||
2
deprecated/firmware/buildroot/package/kexec/kexec.hash
Normal file
2
deprecated/firmware/buildroot/package/kexec/kexec.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/utils/kernel/kexec/sha256sums.asc
|
||||
sha256 b1097986ffdb928cf41a94e8a5dfddc981a8fa710cccf13298e7f8dd939a2ee3 kexec-tools-2.0.11.tar.xz
|
||||
33
deprecated/firmware/buildroot/package/kexec/kexec.mk
Normal file
33
deprecated/firmware/buildroot/package/kexec/kexec.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# kexec
|
||||
#
|
||||
################################################################################
|
||||
|
||||
KEXEC_VERSION = 2.0.11
|
||||
KEXEC_SOURCE = kexec-tools-$(KEXEC_VERSION).tar.xz
|
||||
KEXEC_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kexec
|
||||
KEXEC_LICENSE = GPLv2
|
||||
KEXEC_LICENSE_FILES = COPYING
|
||||
|
||||
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))
|
||||
Reference in New Issue
Block a user