[coreboot] New patch to review for coreboot: d7b1d94 Potentially speed up ccache builds
Patrick Georgi (patrick@georgi-clan.de)
gerrit at coreboot.org
Wed Apr 25 12:24:54 CEST 2012
Patrick Georgi (patrick at 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 at 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 at 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)
More information about the coreboot
mailing list