summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Hug <philipp@hug.cx>2018-09-27 17:25:22 +0200
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-10-09 11:29:52 +0000
commit56dceb2e1a05191d6bf10498a461673f9a6c5279 (patch)
tree15979e63d440927b97cac02e19e960e8c43d9b53
parente3c05c4a3f11ae012fa73a1d68633c50c3269f7d (diff)
downloadcoreboot-56dceb2e1a05191d6bf10498a461673f9a6c5279.tar.gz
coreboot-56dceb2e1a05191d6bf10498a461673f9a6c5279.tar.bz2
coreboot-56dceb2e1a05191d6bf10498a461673f9a6c5279.zip
payloads: Only show supported payloads in menuconfig
Some payloads don't depend on their supported platforms, which makes them visible in menuconfig even if they are not supported (yet). Change-Id: Ia1ec0f0ca0b6521d0c024500c67326337f3d744f Signed-off-by: Philipp Hug <philipp@hug.cx> Reviewed-on: https://review.coreboot.org/28774 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
-rw-r--r--payloads/Kconfig2
-rw-r--r--payloads/external/FILO/Kconfig.name1
-rw-r--r--payloads/external/linux/Kconfig.name1
-rw-r--r--payloads/external/tianocore/Kconfig.name1
4 files changed, 5 insertions, 0 deletions
diff --git a/payloads/Kconfig b/payloads/Kconfig
index 8e05df3ae75b..c7a7ba6e1d45 100644
--- a/payloads/Kconfig
+++ b/payloads/Kconfig
@@ -30,6 +30,7 @@ config PAYLOAD_ELF
config PAYLOAD_FIT
bool "A FIT payload"
+ depends on ARCH_ARM64
select PAYLOAD_FIT_SUPPORT
help
Select this option if you have a payload image (a FIT file) which
@@ -41,6 +42,7 @@ config PAYLOAD_FIT
config PAYLOAD_BAYOU
bool "Bayou"
+ depends on ARCH_X86
help
Select this option if you want to set bayou as your primary
payload.
diff --git a/payloads/external/FILO/Kconfig.name b/payloads/external/FILO/Kconfig.name
index ca94343fe1b6..28a41dcd5092 100644
--- a/payloads/external/FILO/Kconfig.name
+++ b/payloads/external/FILO/Kconfig.name
@@ -1,5 +1,6 @@
config PAYLOAD_FILO
bool "FILO"
+ depends on ARCH_X86
help
Select this option if you want to build a coreboot image
with a FILO payload. If you don't know what this is
diff --git a/payloads/external/linux/Kconfig.name b/payloads/external/linux/Kconfig.name
index ae1d906f1710..63621d88c7f1 100644
--- a/payloads/external/linux/Kconfig.name
+++ b/payloads/external/linux/Kconfig.name
@@ -1,5 +1,6 @@
config PAYLOAD_LINUX
bool "A Linux payload"
+ depends on ARCH_X86 || ARCH_ARM
help
Select this option if you have a Linux bzImage which coreboot
should run as soon as the basic hardware initialization
diff --git a/payloads/external/tianocore/Kconfig.name b/payloads/external/tianocore/Kconfig.name
index e57925fa72c6..a56d248baba3 100644
--- a/payloads/external/tianocore/Kconfig.name
+++ b/payloads/external/tianocore/Kconfig.name
@@ -1,5 +1,6 @@
config PAYLOAD_TIANOCORE
bool "Tianocore coreboot payload package"
+ depends on ARCH_X86
help
Select this option if you want to build a coreboot image
with a Tianocore payload. If you don't know what this is