mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 18:23:09 +02:00
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
This commit is contained in:
parent
89aea3f307
commit
16e76af3ef
2
Makefile
2
Makefile
@ -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: ;
|
||||||
|
2
rules.mk
2
rules.mk
@ -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…
Reference in New Issue
Block a user