From 9121a364a6d510eefa185df1458e7dacf24057b5 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sat, 20 May 2017 21:04:15 +0200 Subject: payloads/Kconfig: Add NO_DEFAULT_PAYLOAD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This symbol can be selected (e.g. in site-local/) to disable the user friendly but annoying default payload choice. Change-Id: I2f72d4efc0a428dce377c3d003b2c00a6c8d4c08 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/19808 Reviewed-by: Philippe Mathieu-Daudé Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- payloads/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/payloads/Kconfig b/payloads/Kconfig index 77006311d1..bb9348b7d7 100644 --- a/payloads/Kconfig +++ b/payloads/Kconfig @@ -1,8 +1,11 @@ menu "Payload" +config NO_DEFAULT_PAYLOAD + bool + choice prompt "Add a payload" - default PAYLOAD_NONE if !ARCH_X86 + default PAYLOAD_NONE if NO_DEFAULT_PAYLOAD || !ARCH_X86 default PAYLOAD_SEABIOS if ARCH_X86 config PAYLOAD_NONE -- cgit v1.2.3