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>
This commit is contained in:
2
Makefile
2
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)))
|
||||
|
Reference in New Issue
Block a user