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>
This commit is contained in:
Philipp Hug 2018-09-27 17:25:22 +02:00 committed by Philipp Deppenwiese
parent e3c05c4a3f
commit 56dceb2e1a
4 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,7 @@ config PAYLOAD_ELF
config PAYLOAD_FIT config PAYLOAD_FIT
bool "A FIT payload" bool "A FIT payload"
depends on ARCH_ARM64
select PAYLOAD_FIT_SUPPORT select PAYLOAD_FIT_SUPPORT
help help
Select this option if you have a payload image (a FIT file) which Select this option if you have a payload image (a FIT file) which
@ -41,6 +42,7 @@ config PAYLOAD_FIT
config PAYLOAD_BAYOU config PAYLOAD_BAYOU
bool "Bayou" bool "Bayou"
depends on ARCH_X86
help help
Select this option if you want to set bayou as your primary Select this option if you want to set bayou as your primary
payload. payload.

View File

@ -1,5 +1,6 @@
config PAYLOAD_FILO config PAYLOAD_FILO
bool "FILO" bool "FILO"
depends on ARCH_X86
help help
Select this option if you want to build a coreboot image Select this option if you want to build a coreboot image
with a FILO payload. If you don't know what this is with a FILO payload. If you don't know what this is

View File

@ -1,5 +1,6 @@
config PAYLOAD_LINUX config PAYLOAD_LINUX
bool "A Linux payload" bool "A Linux payload"
depends on ARCH_X86 || ARCH_ARM
help help
Select this option if you have a Linux bzImage which coreboot Select this option if you have a Linux bzImage which coreboot
should run as soon as the basic hardware initialization should run as soon as the basic hardware initialization

View File

@ -1,5 +1,6 @@
config PAYLOAD_TIANOCORE config PAYLOAD_TIANOCORE
bool "Tianocore coreboot payload package" bool "Tianocore coreboot payload package"
depends on ARCH_X86
help help
Select this option if you want to build a coreboot image Select this option if you want to build a coreboot image
with a Tianocore payload. If you don't know what this is with a Tianocore payload. If you don't know what this is