summaryrefslogtreecommitdiffstats
path: root/tools/ccache
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-22 04:37:20 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-22 04:37:20 +0000
commit800e84cc0ff36cfbc254ec9681d8731a4fd480f1 (patch)
tree8497134d453d336d68b5dbf67d9b6b719ed2145e /tools/ccache
parent9dd62009270ca154e79ce4ae0b135c7feec7253d (diff)
build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/ccache')
-rw-r--r--tools/ccache/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/tools/ccache/Makefile b/tools/ccache/Makefile
index 50714ad7d..db138c019 100644
--- a/tools/ccache/Makefile
+++ b/tools/ccache/Makefile
@@ -18,27 +18,27 @@ PKG_CAT:=zcat
include $(INCLUDE_DIR)/host-build.mk
ifneq ($(strip $(shell which ccache >/dev/null && echo found)),found)
- define Build/Compile
- $(MAKE) CC="$(HOSTCC)" -C $(PKG_BUILD_DIR)
+ define Host/Compile
+ $(MAKE) CC="$(HOSTCC)" -C $(HOST_BUILD_DIR)
endef
- define Build/Install
- $(MAKE) -C $(PKG_BUILD_DIR) install
+ define Host/Install
+ $(MAKE) -C $(HOST_BUILD_DIR) install
endef
- define Build/Clean
- -$(MAKE) -C $(PKG_BUILD_DIR) uninstall
- -$(MAKE) -C $(PKG_BUILD_DIR) clean
- $(call Build/Clean/Default)
+ define Host/Clean
+ -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
+ -$(MAKE) -C $(HOST_BUILD_DIR) clean
+ $(call Host/Clean/Default)
endef
else
- define Build/Prepare
+ define Host/Prepare
endef
- define Build/Configure
+ define Host/Configure
endef
- define Build/Compile
+ define Host/Compile
endef
- define Build/Clean
+ define Host/Clean
endef
endif