projects
/
openwrt
/
staging
/
ldir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb9023b
)
fix ccache build
author
John Crispin
<john@openwrt.org>
Fri, 10 Aug 2012 19:05:22 +0000
(19:05 +0000)
committer
John Crispin
<john@openwrt.org>
Fri, 10 Aug 2012 19:05:22 +0000
(19:05 +0000)
SVN-Revision: 33087
tools/ccache/Makefile
patch
|
blob
|
history
diff --git
a/tools/ccache/Makefile
b/tools/ccache/Makefile
index 442094a180cb3795ff9cce311405143a543258ed..2a43a7e225a7d5576fd129227108a6e9f078f19a 100644
(file)
--- 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