[coreboot-gerrit] Patch set updated for coreboot: b02372c build: don't call $(CC) -print-libgcc-file-name twice

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Sat May 17 15:12:22 CEST 2014


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5768

-gerrit

commit b02372c1c343d1359141960159f46b897b1527e6
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Sat May 17 14:52:28 2014 +0200

    build: don't call $(CC) -print-libgcc-file-name twice
    
    Change-Id: Iaeeb8fc58e06c98273520e79999737da9ff3f872
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 toolchain.inc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/toolchain.inc b/toolchain.inc
index d998a7e..b615bce 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -63,8 +63,7 @@ STRIP_$(1) := $(STRIP_$(2))
 READELF_$(1) := $(READELF_$(2))
 CFLAGS_$(1) = $$(CFLAGS_common) $$(CFLAGS_$(2))
 CPPFLAGS_$(1) = $$(CPPFLAGS_common) $$(CPPFLAGS_$(2))
-LIBGCC_FILE_NAME_$(1) = $(shell [ -r `$(CC_$(2)) -print-libgcc-file-name` ] && \
-	$(CC_$(2)) -print-libgcc-file-name)
+LIBGCC_FILE_NAME_$(1) = $(wildcard $(shell $(CC_$(2)) -print-libgcc-file-name))
 endef
 
 # initialize standard toolchain (CC,AS and others) for give stage



More information about the coreboot-gerrit mailing list