aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-08-04 09:14:20 +0000
committerMike Baker <mbm@openwrt.org>2006-08-04 09:14:20 +0000
commit834f9176191f8a245cd1bc856e37f99e94b47f6f (patch)
tree01d7795a5a4f775f07954784496c37d2091ed565 /rules.mk
parenta4a9ba8874ca977095ae4314253c5ae3420f270a (diff)
downloadupstream-834f9176191f8a245cd1bc856e37f99e94b47f6f.tar.gz
upstream-834f9176191f8a245cd1bc856e37f99e94b47f6f.tar.bz2
upstream-834f9176191f8a245cd1bc856e37f99e94b47f6f.zip
fix everything I broke with the previous patches
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4436 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/rules.mk b/rules.mk
index 89adb3efc2..2cd8ea9b25 100644
--- a/rules.mk
+++ b/rules.mk
@@ -54,8 +54,7 @@ SED:=$(STAGING_DIR)/bin/sed -i -e
CP:=cp -fpR
ifneq ($(CONFIG_CCACHE),)
- export CCACHE_DIR:=$(TOPDIR)/ccache_$(ARCH)
- TARGET_CC:=ccache $(TARGET_CC)
+ TARGET_CC:=CCACHE_DIR=$(TOPDIR)/ccache_$(ARCH) ccache $(TARGET_CC)
endif
HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \