summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2014-05-17 19:05:56 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2014-05-17 21:15:09 +0200
commite24a119cceeef8ad62672fad2b92fd2f026621ab (patch)
tree816b968cbb6dad62358a51cd319469fbbe8f49ed /Makefile
parent443fbcf6a322d34b5c69505823ef2c0e3a7ee06c (diff)
downloadcoreboot-e24a119cceeef8ad62672fad2b92fd2f026621ab.tar.gz
coreboot-e24a119cceeef8ad62672fad2b92fd2f026621ab.tar.bz2
coreboot-e24a119cceeef8ad62672fad2b92fd2f026621ab.zip
build: allow romcc to be wrapped
Allow ccache and scan-build to wrap romcc. This works a bit different from the other compilers because we only define it later. Change-Id: I3adce91d3dde9dd50aa6a2baad5b457744f35575 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/5773 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3404a5199a68..5c4484aed143 100644
--- a/Makefile
+++ b/Makefile
@@ -135,7 +135,7 @@ CCACHE:=CCACHE_COMPILERCHECK=content CCACHE_BASEDIR=$(top) $(CCACHE)
CC := $(CCACHE) $(CC)
HOSTCC := $(CCACHE) $(HOSTCC)
HOSTCXX := $(CCACHE) $(HOSTCXX)
-ROMCC := $(CCACHE) $(ROMCC)
+ROMCC_BIN := $(CCACHE) $(ROMCC_BIN)
endif
strip_quotes = $(subst ",,$(subst \",,$(1)))