From ccb6b0a063a4133ac59c811476b670c7d66f84ed Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 15 Jan 2012 11:43:13 +0000 Subject: tools: clean up Makefiles / make ccache work SVN-Revision: 29754 --- tools/ccache/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tools/ccache') diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile index ada929377a..21123b316d 100644 --- a/tools/ccache/Makefile +++ b/tools/ccache/Makefile @@ -19,11 +19,7 @@ include $(INCLUDE_DIR)/host-build.mk ifneq ($(strip $(shell which ccache >/dev/null && echo found)),found) define Host/Compile - $(MAKE) CC="$(HOSTCC)" -C $(HOST_BUILD_DIR) - endef - - define Host/Install - $(MAKE) -C $(HOST_BUILD_DIR) install + $(MAKE) CC="$(HOSTCC_NOCACHE)" -C $(HOST_BUILD_DIR) endef define Host/Clean @@ -41,6 +37,8 @@ else endef define Host/Clean endef + define Download + endef endif $(eval $(call HostBuild)) -- cgit v1.2.3