move ccache dir to staging_dir_arch (removing the staging dir will make the ccache ineffective anyway)

SVN-Revision: 4999
master
Felix Fietkau 18 years ago
parent d8c27b90f3
commit 05cdabed62
  1. 2
      openwrt/Makefile
  2. 2
      openwrt/rules.mk

@ -132,7 +132,7 @@ dirclean: clean
rm -rf staging_dir_* toolchain_build_* tool_build rm -rf staging_dir_* toolchain_build_* tool_build
distclean: dirclean config-clean 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 .SILENT: clean dirclean distclean config-clean download world
FORCE: ; FORCE: ;

@ -60,7 +60,7 @@ CP:=cp -fpR
ifneq ($(CONFIG_CCACHE),) ifneq ($(CONFIG_CCACHE),)
# FIXME: move this variable to a better location # 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) TARGET_CC:= ccache $(TARGET_CC)
endif endif

Loading…
Cancel
Save