فهرست منبع

move ccache to tools/ and fix potential dependency issue

SVN-Revision: 6413
Felix Fietkau 18 سال پیش
والد
کامیت
f1a91c2f71
3فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 0 1
      toolchain/Makefile
  2. 2 1
      tools/Makefile
  3. 0 0
      tools/ccache/Makefile

+ 0 - 1
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

+ 2 - 1
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 $@
 	

+ 0 - 0
toolchain/ccache/Makefile → tools/ccache/Makefile