aboutsummaryrefslogtreecommitdiffstats
path: root/include/package.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-15 19:58:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-15 19:58:32 +0000
commit8ca99461fe1050f8087cb726073f2db79d68bc4c (patch)
tree3dbce210544b1e72d06e18d73e3267e15cee1a21 /include/package.mk
parentc48dcf9d1f48cf52e5c9353bf7b10b06d9d09ebe (diff)
downloadmaster-187ad058-8ca99461fe1050f8087cb726073f2db79d68bc4c.tar.gz
master-187ad058-8ca99461fe1050f8087cb726073f2db79d68bc4c.tar.bz2
master-187ad058-8ca99461fe1050f8087cb726073f2db79d68bc4c.zip
build: move the CCACHE_DIR to the build targets so that it doesn't interfere with a host ccache setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26181 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk
index 1cf4d64cc9..2ebd66d119 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -90,6 +90,7 @@ define Build/Exports/Default
$(1) : export CONFIG_SITE:=$$(CONFIG_SITE)
$(1) : export PKG_CONFIG_PATH:=$$(PKG_CONFIG_PATH)
$(1) : export PKG_CONFIG_LIBDIR:=$$(PKG_CONFIG_PATH)
+ $(1) : export CCACHE_DIR:=$(STAGING_DIR)/ccache
endef
Build/Exports=$(Build/Exports/Default)