summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2022-12-14 17:26:35 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-06-11 20:07:57 +0000
commitcad92ecca8841450939e22e0da265507fec1bb9a (patch)
tree7d92cbd721400d33730788b95fc150625f48a5f1 /Makefile
parent0e93a6f184539c0ed3b436ce674aa45984402ed6 (diff)
downloadcoreboot-cad92ecca8841450939e22e0da265507fec1bb9a.tar.gz
coreboot-cad92ecca8841450939e22e0da265507fec1bb9a.tar.bz2
coreboot-cad92ecca8841450939e22e0da265507fec1bb9a.zip
Append per-board ccache statistics in log
Starting with ccache 4.4 it is possible to collect statistics about cache miss/hit rates in a separate file. Add the info of the build at end of created make.log file or on stdout. Change-Id: I1bab712712f4d6379ec6733fdc55b234e3845da7 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75087 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 459f724e9b04..d86eaf014d39 100644
--- a/Makefile
+++ b/Makefile
@@ -197,6 +197,10 @@ endif
strip_quotes = $(strip $(subst ",,$(subst \",,$(1))))
# fix makefile syntax highlighting after strip macro \" "))
+ifneq ($(NOCOMPILE),1)
+$(shell rm -f $(CCACHE_STATSLOG))
+endif
+
# The primary target needs to be here before we include the
# other files