summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2014-05-17 18:38:10 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2014-05-17 21:15:15 +0200
commite47477e52ced46986c352a0ae6cf798c9a7aa560 (patch)
tree2ffab8c2bf8785eb6139bd5cf5192c464db1d290 /Makefile
parentfadbe5f657147f5232b2e0ad2a2a8b654cbeb219 (diff)
downloadcoreboot-staging-e47477e52ced46986c352a0ae6cf798c9a7aa560.zip
coreboot-staging-e47477e52ced46986c352a0ae6cf798c9a7aa560.tar.gz
build: re-enable ccache support
The ccache support was mostly disabled because it didn't hook onto most compilers anymore. Caveat: ccache and scan-build don't work together since scan-build doesn't like arguments in its compiler command line (eg. "ccache gcc"). Change-Id: I7c1c6e22cb662f2b08e774ea484ac1c412fdd2db Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/5775 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index ddacdc3..cc2d27c 100644
--- a/Makefile
+++ b/Makefile
@@ -114,18 +114,6 @@ CC:=clang -m32 -mno-mmx -mno-sse -no-integrated-as
HOSTCC:=clang
endif
-ifeq ($(CONFIG_CCACHE),y)
-CCACHE:=$(word 1,$(wildcard $(addsuffix /ccache,$(subst :, ,$(PATH)))))
-ifeq ($(CCACHE),)
-$(error ccache selected, but not found in PATH)
-endif
-CCACHE:=CCACHE_COMPILERCHECK=content CCACHE_BASEDIR=$(top) $(CCACHE)
-CC := $(CCACHE) $(CC)
-HOSTCC := $(CCACHE) $(HOSTCC)
-HOSTCXX := $(CCACHE) $(HOSTCXX)
-ROMCC_BIN := $(CCACHE) $(ROMCC_BIN)
-endif
-
strip_quotes = $(subst ",,$(subst \",,$(1)))
# The primary target needs to be here before we include the
OpenPOWER on IntegriCloud