summaryrefslogtreecommitdiff
path: root/payloads/libpayload/util
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-07-06 09:04:42 +0000
committerPatrick Georgi <pgeorgi@google.com>2015-07-06 18:25:52 +0200
commitb7d8f26eec171aa6964cf617221aeb2eaec0a976 (patch)
treec556b000dc0916cb5ac252f2102848535d44e323 /payloads/libpayload/util
parent3f02466b002c721d7e5f8bc37d0598bb5b880037 (diff)
downloadcoreboot-b7d8f26eec171aa6964cf617221aeb2eaec0a976.tar.xz
libpayload: Add compiler switch
clang is totally untested, but it mirrors coreboot now. Change-Id: I0e13ff8bba2007159a4a795ca07d187504b606b2 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/10800 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/util')
-rwxr-xr-xpayloads/libpayload/util/xcompile/xcompile2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/util/xcompile/xcompile b/payloads/libpayload/util/xcompile/xcompile
index 1af02ad28a..b6759a9b98 100755
--- a/payloads/libpayload/util/xcompile/xcompile
+++ b/payloads/libpayload/util/xcompile/xcompile
@@ -182,7 +182,7 @@ report_arch_toolchain() {
# elf${TWIDTH}-${TBFDARCH} toolchain (${GCC})
ARCH_SUPPORTED+=${TARCH}
SUBARCH_SUPPORTED+=${TSUPP-${TARCH}}
-ifeq (\$(CONFIG_COMPILER_GCC),y)
+ifeq (\$(CONFIG_LP_COMPILER_GCC),y)
CC_${TARCH}:=${GCC}
CFLAGS_${TARCH}:=${CFLAGS_GCC}
COMPILER_RT_${TARCH}:=${CC_RT_GCC}