aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-27 23:46:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-27 23:46:34 +0000
commitf1a91c2f71dc557d8e7cf119dea99a1bb73e4f3d (patch)
tree5037c62c2061bf425e065a563cd2f6e958e42ba9 /tools/Makefile
parent2c2bf90a8ed8b0ae12367888d9a43a7c192073cc (diff)
downloadupstream-f1a91c2f71dc557d8e7cf119dea99a1bb73e4f3d.tar.gz
upstream-f1a91c2f71dc557d8e7cf119dea99a1bb73e4f3d.tar.bz2
upstream-f1a91c2f71dc557d8e7cf119dea99a1bb73e4f3d.zip
move ccache to tools/ and fix potential dependency issue
SVN-Revision: 6413
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index d03ab38ee3..8c5f699d32 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -8,6 +8,7 @@
#
include $(TOPDIR)/rules.mk
TARGETS-y:=sed sstrip ipkg-utils ext2fs squashfs mtd-utils lzma mkimage firmware-utils
+TARGETS-$(CONFIG_CCACHE) += ccache
TARGETS_DOWNLOAD:=$(patsubst %,%-download,$(TARGETS-y))
TARGETS_PREPARE:=$(patsubst %,%-prepare,$(TARGETS-y))
@@ -28,7 +29,7 @@ ifneq ($(shell $(SCRIPT_DIR)/timestamp.pl -p . $(STAMP)),$(STAMP))
$(STAMP): $(TARGETS_INSTALL)
endif
-$(STAMP):
+$(STAMP): $(TOPDIR)/.config
mkdir -p $(shell dirname $@)
touch $@