From 92b44ea50a21b878b35f081bfc90c06b799c0c03 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Wed, 14 Mar 2018 22:09:22 +0100 Subject: use system provided ccache links Change-Id: I0860bbd0cf368fc3638b861504ebf642ee9d3807 Signed-off-by: Damjan Marion --- build-root/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build-root/Makefile') diff --git a/build-root/Makefile b/build-root/Makefile index 9190803c3ab..9d8cffd69df 100644 --- a/build-root/Makefile +++ b/build-root/Makefile @@ -317,7 +317,8 @@ endif BUILD_ENV = \ export CCACHE_DIR=$(CCACHE_DIR) ; \ - export PATH=$(TOOL_INSTALL_DIR)/ccache-bin:$(TOOL_INSTALL_DIR)/bin:$${PATH} ; \ + export PATH=$(wildcard /usr/lib*/ccache):$(TOOL_INSTALL_DIR)/bin:$${PATH} ; \ + $(if $(call configure_var_fn,PATH), export PATH=$${PATH}:$(call configure_var_fn,PATH);,) \ export PATH="`echo $${PATH} | sed -e s/[.]://`" ; \ $(if $(not_native),export CONFIG_SITE=$(MU_BUILD_ROOT_DIR)/config.site ;,) \ set -eu$(BUILD_DEBUG) ; \ -- cgit 1.2.3-korg