diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-15 19:58:32 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-15 19:58:32 +0000 |
commit | 63c3f4a351d974754dd590798c5bc63fba1aa770 (patch) | |
tree | 3dbce210544b1e72d06e18d73e3267e15cee1a21 | |
parent | 4ec32399c2de3ecae47f1df347ea5988100a5cc3 (diff) |
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
-rw-r--r-- | include/package.mk | 1 | ||||
-rw-r--r-- | rules.mk | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/package.mk b/include/package.mk index 1cf4d64cc..2ebd66d11 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) @@ -178,8 +178,6 @@ INSTALL_DATA:=install -m0644 INSTALL_CONF:=install -m0600 ifneq ($(CONFIG_CCACHE),) - # FIXME: move this variable to a better location - export CCACHE_DIR=$(STAGING_DIR)/ccache TARGET_CC:= ccache $(TARGET_CC) TARGET_CXX:= ccache $(TARGET_CXX) endif |