From 64fa94f72fc9e57642c85ae1bad399e7dfd213e1 Mon Sep 17 00:00:00 2001 From: Arnout Vandecappelle Date: Sun, 2 Apr 2023 23:44:04 +0200 Subject: [PATCH] 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 --- 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