summaryrefslogtreecommitdiff
path: root/make/ccache.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-04-12 20:11:49 +0000
committerEric Andersen <andersen@codepoet.org>2004-04-12 20:11:49 +0000
commita64ef2ba3206ea521230004be10e176929f4a921 (patch)
treef15984fab64e82a9c7f289321f5ac4ff1de69a1f /make/ccache.mk
parent379217a412cb1339e3ac6b7ddeb0e5d8d92957df (diff)
Fix ccache build for target
Diffstat (limited to 'make/ccache.mk')
-rw-r--r--make/ccache.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/make/ccache.mk b/make/ccache.mk
index c3703183e..af4a7cc5d 100644
--- a/make/ccache.mk
+++ b/make/ccache.mk
@@ -5,9 +5,8 @@
#############################################################
CCACHE_SITE:=http://ccache.samba.org/ftp/ccache
CCACHE_SOURCE:=ccache-2.3.tar.gz
-CCACHE_DIR:=$(TOOL_BUILD_DIR)/ccache-2.3
-CCACHE_DIR1:=$(TOOL_BUILD_DIR)/ccache-host
-CCACHE_DIR2:=$(BUILD_DIR)/ccache-target
+CCACHE_DIR1:=$(TOOL_BUILD_DIR)/ccache-2.3
+CCACHE_DIR2:=$(BUILD_DIR)/ccache-2.3
CCACHE_CAT:=zcat
CCACHE_BINARY:=ccache
CCACHE_TARGET_BINARY:=usr/bin/ccache
@@ -17,7 +16,6 @@ $(DL_DIR)/$(CCACHE_SOURCE):
$(CCACHE_DIR1)/.unpacked: $(DL_DIR)/$(CCACHE_SOURCE)
$(CCACHE_CAT) $(DL_DIR)/$(CCACHE_SOURCE) | tar -C $(TOOL_BUILD_DIR) -xvf -
- mv $(CCACHE_DIR) $(CCACHE_DIR1)
touch $(CCACHE_DIR1)/.unpacked
$(CCACHE_DIR1)/.patched: $(CCACHE_DIR1)/.unpacked
@@ -89,7 +87,6 @@ ccache-dirclean:
$(CCACHE_DIR2)/.unpacked: $(DL_DIR)/$(CCACHE_SOURCE)
$(CCACHE_CAT) $(DL_DIR)/$(CCACHE_SOURCE) | tar -C $(BUILD_DIR) -xvf -
- mv $(CCACHE_DIR) $(CCACHE_DIR2)
touch $(CCACHE_DIR2)/.unpacked
$(CCACHE_DIR2)/.patched: $(CCACHE_DIR2)/.unpacked