1config BR2_PACKAGE_KEXEC_ARCH_SUPPORTS 2 bool 3 default y 4 depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_armeb || \ 5 BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el || \ 6 BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \ 7 BR2_sh4 || BR2_sh4a || BR2_aarch64 || BR2_s390x || BR2_m68k 8 9config BR2_PACKAGE_KEXEC 10 bool "kexec" 11 depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS 12 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd_create() 13 help 14 Kexec is a user space utility for loading another kernel 15 and asking the currently running kernel to do something with 16 it. 17 18 https://www.kernel.org/pub/linux/utils/kernel/kexec/ 19 20if BR2_PACKAGE_KEXEC 21 22config BR2_PACKAGE_KEXEC_ZLIB 23 bool "zlib support" 24 select BR2_PACKAGE_ZLIB 25 help 26 Support for compressed kernel images 27 28endif 29 30comment "kexec needs a toolchain w/ headers >= 3.17" 31 depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS 32 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 33