[Buildroot] [git commit] package/kexec: introduce BR2_PACKAGE_KEXEC_ARCH_SUPPORTS

Arnout Vandecappelle arnout at mind.be
Wed Apr 5 20:08:35 UTC 2023


commit: https://git.buildroot.net/buildroot/commit/?id=64fa94f72fc9e57642c85ae1bad399e7dfd213e1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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

Signed-off-by: Arnout Vandecappelle <arnout at mind.be>
---
 package/kexec/Config.in | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/package/kexec/Config.in b/package/kexec/Config.in
index 90a7bc2672..54026284da 100644
--- a/package/kexec/Config.in
+++ b/package/kexec/Config.in
@@ -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



More information about the buildroot mailing list