Patrick Georgi (patrick@georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/927
-gerrit
commit d7b1d9468910f8465bfa5d2cbdb5765e9541e2a5 Author: Patrick Georgi patrick@georgi-clan.de Date: Wed Apr 25 12:22:17 2012 +0200
Potentially speed up ccache builds
This might speed up ccache builds. While direct mode is faster in evaluating if files changed, the special situation of coreboot prevents ccache from using build results of previously built boards in the same run.
This is because Kconfig adds board information to config.h which is part of the hashed data set in direct mode. In preprocessor mode the preprocessor copes with them before ccache decides if the file is the same.
Change-Id: Ia4b4fab24de1379a489633593b702630d03df17c Signed-off-by: Patrick Georgi patrick@georgi-clan.de --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile index 2723efb..7bc5d18 100644 --- a/Makefile +++ b/Makefile @@ -123,7 +123,7 @@ 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) +CCACHE:=CCACHE_COMPILERCHECK=content CCACHE_NODIRECT=yes CCACHE_BASEDIR=$(top) $(CCACHE) CC := $(CCACHE) $(CC) HOSTCC := $(CCACHE) $(HOSTCC) HOSTCXX := $(CCACHE) $(HOSTCXX)