diff options
author | John Crispin <john@openwrt.org> | 2012-01-15 11:43:13 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2012-01-15 11:43:13 +0000 |
commit | ccb6b0a063a4133ac59c811476b670c7d66f84ed (patch) | |
tree | 6a897cd4b2dfd787d1b4da763623b8157945324a /tools/ccache | |
parent | f9e41adc80d0492ff9c94b4b660ac9ac8a6cae02 (diff) | |
download | upstream-ccb6b0a063a4133ac59c811476b670c7d66f84ed.tar.gz upstream-ccb6b0a063a4133ac59c811476b670c7d66f84ed.tar.bz2 upstream-ccb6b0a063a4133ac59c811476b670c7d66f84ed.zip |
tools: clean up Makefiles / make ccache work
SVN-Revision: 29754
Diffstat (limited to 'tools/ccache')
-rw-r--r-- | tools/ccache/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
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)) |