[coreboot-gerrit] Change in coreboot[master]: payloads: Only show supported payloads in menuconfig

Philipp Hug (Code Review) gerrit at coreboot.org
Thu Sep 27 17:28:21 CEST 2018


Philipp Hug has uploaded this change for review. ( https://review.coreboot.org/28774


Change subject: payloads: Only show supported payloads in menuconfig
......................................................................

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 at hug.cx>
---
M payloads/Kconfig
M payloads/external/FILO/Kconfig.name
M payloads/external/linux/Kconfig.name
M payloads/external/tianocore/Kconfig.name
4 files changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/28774/1

diff --git a/payloads/Kconfig b/payloads/Kconfig
index 8e05df3..e66a6e4 100644
--- a/payloads/Kconfig
+++ b/payloads/Kconfig
@@ -41,6 +41,7 @@
 
 config PAYLOAD_BAYOU
 	bool "Bayou"
+	depends on ARCH_X86 || ARCH_ARM
 	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 ca94343..28a41dc 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 ae1d906..63621d8 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 e57925f..12c62bf 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 || ARCH_ARM
 	help
 	  Select this option if you want to build a coreboot image
 	  with a Tianocore payload. If you don't know what this is

-- 
To view, visit https://review.coreboot.org/28774
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia1ec0f0ca0b6521d0c024500c67326337f3d744f
Gerrit-Change-Number: 28774
Gerrit-PatchSet: 1
Gerrit-Owner: Philipp Hug <philipp at hug.cx>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180927/55006b03/attachment.html>


More information about the coreboot-gerrit mailing list