mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:46:16 +02:00
move ccache to tools/ and fix potential dependency issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6413 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f53ddba440
commit
f889a9c250
@ -10,7 +10,6 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
TARGETS-y:=kernel-headers
|
TARGETS-y:=kernel-headers
|
||||||
TARGETS-$(CONFIG_GDB) += gdb
|
TARGETS-$(CONFIG_GDB) += gdb
|
||||||
TARGETS-$(CONFIG_CCACHE) += ccache
|
|
||||||
ifeq ($(CONFIG_NATIVE_TOOLCHAIN),)
|
ifeq ($(CONFIG_NATIVE_TOOLCHAIN),)
|
||||||
TARGETS-y+=binutils gcc uClibc
|
TARGETS-y+=binutils gcc uClibc
|
||||||
endif
|
endif
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
#
|
#
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
TARGETS-y:=sed sstrip ipkg-utils ext2fs squashfs mtd-utils lzma mkimage firmware-utils
|
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_DOWNLOAD:=$(patsubst %,%-download,$(TARGETS-y))
|
||||||
TARGETS_PREPARE:=$(patsubst %,%-prepare,$(TARGETS-y))
|
TARGETS_PREPARE:=$(patsubst %,%-prepare,$(TARGETS-y))
|
||||||
@ -28,7 +29,7 @@ ifneq ($(shell $(SCRIPT_DIR)/timestamp.pl -p . $(STAMP)),$(STAMP))
|
|||||||
$(STAMP): $(TARGETS_INSTALL)
|
$(STAMP): $(TARGETS_INSTALL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(STAMP):
|
$(STAMP): $(TOPDIR)/.config
|
||||||
mkdir -p $(shell dirname $@)
|
mkdir -p $(shell dirname $@)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user