From b7d8f26eec171aa6964cf617221aeb2eaec0a976 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 6 Jul 2015 09:04:42 +0000 Subject: libpayload: Add compiler switch clang is totally untested, but it mirrors coreboot now. Change-Id: I0e13ff8bba2007159a4a795ca07d187504b606b2 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10800 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Stefan Reinauer --- payloads/libpayload/Kconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'payloads/libpayload/Kconfig') diff --git a/payloads/libpayload/Kconfig b/payloads/libpayload/Kconfig index 77d4f6b86b..dee970c778 100644 --- a/payloads/libpayload/Kconfig +++ b/payloads/libpayload/Kconfig @@ -55,6 +55,24 @@ config DEVELOPER Prompt for developer options. These options are only interesting for libpayload developers. +choice + prompt "Compiler to use" + default COMPILER_GCC + help + This option allows you to select the compiler. + +config COMPILER_GCC + bool "GCC" + help + Use the GNU Compiler Collection (GCC). + +config COMPILER_LLVM_CLANG + bool "LLVM/clang" + help + Use LLVM/clang. + +endchoice + config REMOTEGDB bool "Remote GDB stub" default n -- cgit v1.2.3