From 10e064f98c4d28bf84ebc116b8bf82457eacdd03 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 14 Dec 2006 05:10:23 +0000 Subject: fix ccache build order git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5783 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'toolchain/Makefile') diff --git a/toolchain/Makefile b/toolchain/Makefile index ceae2269a..4682dbed1 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 -- cgit v1.2.3