From 1a8b7bfe506c39ee595eef84f19d8c75245e27de Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 30 Jun 2015 15:58:56 -0700 Subject: payloads: Reorganize Kconfig for external payloads The integration of external payloads in coreboot is a bit messy. You have to change the to level Kconfig file for every payload (something that we recently fixed for mainboards and chipsets). This means that updating e.g. the SeaBIOS version requires a change outside of the SeaBIOS directory. With this patch you can create a new directory under payloads/external and place a Kconfig and Kconfig.name file in there, and the payload will automatically show up when you do "make menuconfig". Change-Id: I293abcb8eae581d4b3934e64897c0d339a27e7c1 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/10828 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- payloads/external/tianocore/Kconfig | 9 +++++++++ payloads/external/tianocore/Kconfig.name | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 payloads/external/tianocore/Kconfig create mode 100644 payloads/external/tianocore/Kconfig.name (limited to 'payloads/external/tianocore') diff --git a/payloads/external/tianocore/Kconfig b/payloads/external/tianocore/Kconfig new file mode 100644 index 0000000000..8a98bd3519 --- /dev/null +++ b/payloads/external/tianocore/Kconfig @@ -0,0 +1,9 @@ +if PAYLOAD_TIANOCORE + +config PAYLOAD_FILE + string "Tianocore firmware volume" + default "COREBOOT.fd" + help + The result of a corebootPkg build + +endif diff --git a/payloads/external/tianocore/Kconfig.name b/payloads/external/tianocore/Kconfig.name new file mode 100644 index 0000000000..d57f7e1e80 --- /dev/null +++ b/payloads/external/tianocore/Kconfig.name @@ -0,0 +1,8 @@ +config PAYLOAD_TIANOCORE + bool "Tiano Core" + help + Select this option if you want to build a coreboot image + with a Tiano Core payload. If you don't know what this is + about, just leave it enabled. + + See http://coreboot.org/Payloads for more information. -- cgit v1.2.3