summaryrefslogtreecommitdiffstats
path: root/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.inc b/Makefile.inc
index abf47d4fae45..b35ec86a1100 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -66,8 +66,11 @@ coreboot: $(obj)/coreboot.rom $(obj)/cbfstool $(obj)/rmodtool $(obj)/ifwitool $(
# targets after the build completes by creating a Makefile.inc in the
# site-local directory with a target named 'build_complete::'
build_complete:: coreboot
- printf "\nBuilt %s (%s)\n" $(MAINBOARDDIR) \
- $(CONFIG_MAINBOARD_PART_NUMBER)
+ printf "\nBuilt %s (%s)\n" $(MAINBOARDDIR) $(CONFIG_MAINBOARD_PART_NUMBER)
+ if [ -f "$(CCACHE_STATSLOG)" ]; then \
+ printf "\nccache statistics\n"; \
+ $(CCACHE) --show-log-stats -v; \
+ fi
# This target can be used to run rules after all files were added to CBFS,
# for example to process FMAP regions or the entire image.