mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
Add ccache support to build system
This patch simplifies the use of ccache with the build system. Up until now, each developer had to set up the ccache hooks manually, adjust the PATH variable, and customize the etc/tools.conf in each build directory. With the patch, ccache can be enabled by un-commenting a single line in the etc/build.conf file. Fixes #4004
This commit is contained in:
@@ -102,7 +102,7 @@ $(BUILD_DIR)/etc/build.conf:
|
||||
@echo 'BASE_DIR := $$(GENODE_DIR)/repos/base' >> $@
|
||||
@echo 'CONTRIB_DIR := $(CONTRIB_ABS_DIR)' >> $@
|
||||
@echo >> $@
|
||||
@for i in make_j run; do \
|
||||
@for i in make_j ccache run; do \
|
||||
cat $(GENODE_DIR)/tool/builddir/build.conf/$$i; done >> $@
|
||||
@for i in ${BUILD_CONF(${PLATFORM})}; do \
|
||||
cat $(GENODE_DIR)/tool/builddir/build.conf/$$i; done >> $@
|
||||
|
||||
Reference in New Issue
Block a user