mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-16 17:13:10 +02:00
[tools] fix ccache build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33087 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
039dd7421f
commit
1156b14227
@ -16,6 +16,8 @@ PKG_MD5SUM:=80a698c22d0b06b19c88ac58e8d8b632
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/host-build.mk
|
include $(INCLUDE_DIR)/host-build.mk
|
||||||
|
|
||||||
|
HOSTCC:=$(HOSTCC_NOCACHE)
|
||||||
|
|
||||||
define Host/Install/ccache
|
define Host/Install/ccache
|
||||||
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/
|
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/
|
||||||
$(CP) ./files/* $(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)
|
ifneq ($(strip $(shell which ccache >/dev/null && echo found)),found)
|
||||||
define Host/Compile
|
define Host/Compile
|
||||||
$(MAKE) CC="$(HOSTCC_NOCACHE)" -C $(HOST_BUILD_DIR)
|
$(MAKE) -C $(HOST_BUILD_DIR)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Host/Clean
|
define Host/Clean
|
||||||
|
Loading…
Reference in New Issue
Block a user