diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-02-27 23:46:34 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-02-27 23:46:34 +0000 |
commit | f889a9c250e02ea2b4cb8cc8a6641603d89f23f5 (patch) | |
tree | 118b4a3e8f4a42cd24392b8a339ed781f3c90540 | |
parent | f53ddba44017bdd49c6ef149acaea2580d4988ce (diff) |
move ccache to tools/ and fix potential dependency issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6413 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | toolchain/Makefile | 1 | ||||
-rw-r--r-- | tools/Makefile | 3 | ||||
-rw-r--r-- | tools/ccache/Makefile (renamed from toolchain/ccache/Makefile) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile index 4832a657df..7773c32c31 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -10,7 +10,6 @@ include $(TOPDIR)/rules.mk TARGETS-y:=kernel-headers TARGETS-$(CONFIG_GDB) += gdb -TARGETS-$(CONFIG_CCACHE) += ccache ifeq ($(CONFIG_NATIVE_TOOLCHAIN),) TARGETS-y+=binutils gcc uClibc endif 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 $@ diff --git a/toolchain/ccache/Makefile b/tools/ccache/Makefile index e8e85b442a..e8e85b442a 100644 --- a/toolchain/ccache/Makefile +++ b/tools/ccache/Makefile |