aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-08-10 19:05:22 +0000
committerJohn Crispin <blogic@openwrt.org>2012-08-10 19:05:22 +0000
commitfa8b651b932b658d904d4f2f202dc3bcf9a02ede (patch)
tree42eeb01656dd85beb4f0c9fa0e39062b14b9dc36 /tools
parent8c0856ac4c142abfc9da1b58bd13d7aeffef941c (diff)
downloadmaster-187ad058-fa8b651b932b658d904d4f2f202dc3bcf9a02ede.tar.gz
master-187ad058-fa8b651b932b658d904d4f2f202dc3bcf9a02ede.tar.bz2
master-187ad058-fa8b651b932b658d904d4f2f202dc3bcf9a02ede.zip
[tools] fix ccache build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33087 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r--tools/ccache/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile
index 442094a180..2a43a7e225 100644
--- a/tools/ccache/Makefile
+++ b/tools/ccache/Makefile
@@ -16,6 +16,8 @@ PKG_MD5SUM:=80a698c22d0b06b19c88ac58e8d8b632
include $(INCLUDE_DIR)/host-build.mk
+HOSTCC:=$(HOSTCC_NOCACHE)
+
define Host/Install/ccache
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/
$(CP) ./files/* $(STAGING_DIR_HOST)/bin/
@@ -23,7 +25,7 @@ endef
ifneq ($(strip $(shell which ccache >/dev/null && echo found)),found)
define Host/Compile
- $(MAKE) CC="$(HOSTCC_NOCACHE)" -C $(HOST_BUILD_DIR)
+ $(MAKE) -C $(HOST_BUILD_DIR)
endef
define Host/Clean