Files
buildroot/package/kexec/Config.in
Vladimir Kondratiev 7762233ce2 package/kexec: enable on risc-v
Starting from version 2.0.32, kexec has support for the
risc-v architecture. The support was added in upstream commit [1].

[1] https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=b3fd54b022fe5ba09ebff184d4d22466672946cf

Signed-off-by: Vladimir Kondratiev <vladimir.kondratiev@mobileye.com>
[Julien: add link to upstream commit adding support]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-11-05 21:01:20 +01:00

35 lines
979 B
Plaintext

config BR2_PACKAGE_KEXEC_ARCH_SUPPORTS
bool
default y
depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_armeb || \
BR2_loongarch64 || \
BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el || \
BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \
BR2_sh4 || BR2_sh4a || BR2_aarch64 || BR2_s390x || BR2_m68k || \
BR2_riscv
config BR2_PACKAGE_KEXEC
bool "kexec"
depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd_create()
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
comment "kexec needs a toolchain w/ headers >= 3.17"
depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17