build: move the CCACHE_DIR to the build targets so that it doesn't interfere with...
[openwrt/staging/yousong.git] / rules.mk
index c2b0dcaff9becf2789e163125f5ecfd98889f6d8..2d56c436ed20726d36d1d19617c9d21e447cc85a 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -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