package/kexec: introduce BR2_PACKAGE_KEXEC_ARCH_SUPPORTS

This makes it easier for other packages to add the arch dependency.

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Arnout Vandecappelle 2023-04-02 23:44:04 +02:00
parent 0d8d348826
commit 64fa94f72f

View File

@ -1,9 +1,14 @@
config BR2_PACKAGE_KEXEC
bool "kexec"
config BR2_PACKAGE_KEXEC_ARCH_SUPPORTS
bool
default y
depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_armeb || \
BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el || \
BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \
BR2_sh4 || BR2_sh4a || BR2_aarch64 || BR2_s390x
config BR2_PACKAGE_KEXEC
bool "kexec"
depends on BR2_PACKAGE_KEXEC_ARCH_SUPPORTS
help
Kexec is a user space utility for loading another kernel
and asking the currently running kernel to do something with