build: move the CCACHE_DIR to the build targets so that it doesn't interfere with...
[openwrt-10.03/.git] / rules.mk
index 1a58c6ae57b47e62132e20f55f602fcfdcb5fc4d..0068350ed2ed22624996117e2ae5d6527e7fca11 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -174,8 +174,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)
 endif