summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2016-02-27 11:47:06 +0800
committerPatrick Georgi <pgeorgi@google.com>2016-02-28 20:09:38 +0100
commit283fd8e653a8ef8631403fd27a52115041385804 (patch)
tree3958a1b6150f4e2e277c9fe357dbfe06e4a2045c /payloads
parentd7ee9dda708321f80161695714737b0f974509d3 (diff)
downloadcoreboot-283fd8e653a8ef8631403fd27a52115041385804.tar.xz
coreinfo: quote $(AS) and $(CC) in $(LPAS) and $(LPCC)
Without this change it'll get a build error with crossgcc-x64 because $(AS) is "util/crossgcc/xgcc/bin/x86_64-elf-as --32", and running $(LPAS) (i.e. AS=$(AS) lpas) will run "--32" instead of "x86_64-elf-as". Change-Id: I95e5630cb1d4f1ce81a8ca8a7bf338450b325f02 Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/13845 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/coreinfo/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/coreinfo/Makefile b/payloads/coreinfo/Makefile
index a3a02c254c..c9f5c10c6f 100644
--- a/payloads/coreinfo/Makefile
+++ b/payloads/coreinfo/Makefile
@@ -78,8 +78,8 @@ CC := $(CC_$(ARCH-y))
AS := $(AS_$(ARCH-y))
OBJCOPY := $(OBJCOPY_$(ARCH-y))
-LPCC := CC=$(CC) $(LIBPAYLOAD_DIR)/libpayload/bin/lpgcc
-LPAS := AS=$(AS) $(LIBPAYLOAD_DIR)/libpayload/bin/lpas
+LPCC := CC="$(CC)" $(LIBPAYLOAD_DIR)/libpayload/bin/lpgcc
+LPAS := AS="$(AS)" $(LIBPAYLOAD_DIR)/libpayload/bin/lpas
CFLAGS += -Wall -Werror -Os -fno-builtin $(CFLAGS_$(ARCH-y)) $(INCLUDES)