From 283fd8e653a8ef8631403fd27a52115041385804 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sat, 27 Feb 2016 11:47:06 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/13845 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Stefan Reinauer Reviewed-by: Patrick Georgi --- payloads/coreinfo/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'payloads/coreinfo/Makefile') 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) -- cgit v1.2.3