summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-09 18:17:53 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-09 18:17:53 +0000
commit16e76af3ef0431a0ccddcb4d195e1b30ce3faf3e (patch)
tree1a41eaf8ef0843a4c28314ba22b16ad625089e16
parent89aea3f3076969b89f040146a6969132b06aac05 (diff)
move ccache dir to staging_dir_arch (removing the staging dir will make the ccache ineffective anyway)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4999 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--Makefile2
-rw-r--r--rules.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 89ca7d38b..ed1e34db4 100644
--- a/Makefile
+++ b/Makefile
@@ -132,7 +132,7 @@ dirclean: clean
rm -rf staging_dir_* toolchain_build_* tool_build
distclean: dirclean config-clean
- rm -rf dl .*config* .pkg* .prereq ccache_*
+ rm -rf dl .*config* .pkg* .prereq
.SILENT: clean dirclean distclean config-clean download world
FORCE: ;
diff --git a/rules.mk b/rules.mk
index eebc75822..0ec5daf08 100644
--- a/rules.mk
+++ b/rules.mk
@@ -60,7 +60,7 @@ CP:=cp -fpR
ifneq ($(CONFIG_CCACHE),)
# FIXME: move this variable to a better location
- export CCACHE_DIR=$(TOPDIR)/ccache_$(ARCH)
+ export CCACHE_DIR=$(STAGING_DIR)/ccache
TARGET_CC:= ccache $(TARGET_CC)
endif