aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-14 05:10:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-14 05:10:23 +0000
commite6085a6e2290070976fcd73d000cdb0b0190706b (patch)
tree098d2d01e05453ff7094d6dcc93c5c4456fe1f3e /toolchain
parentabaf00a7ffe5a711f1ec422728a779198337ed3a (diff)
downloadmaster-187ad058-e6085a6e2290070976fcd73d000cdb0b0190706b.tar.gz
master-187ad058-e6085a6e2290070976fcd73d000cdb0b0190706b.tar.bz2
master-187ad058-e6085a6e2290070976fcd73d000cdb0b0190706b.zip
fix ccache build order
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5783 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile
index ceae2269a6..4682dbed17 100644
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -25,7 +25,10 @@ install: $(TARGETS_INSTALL)
clean: $(TARGETS_CLEAN)
$(TARGETS_INSTALL): $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)
-uClibc-prepare: ccache-prepare kernel-headers-prepare
+ifeq ($(CONFIG_CCACHE),y)
+ uClibc-prepare: ccache-install
+endif
+uClibc-prepare: kernel-headers-prepare
ifeq ($(CONFIG_NATIVE_TOOLCHAIN),)
binutils-prepare: uClibc-prepare
gcc-prepare: binutils-install