From: Felix Fietkau Date: Thu, 14 Dec 2006 05:10:23 +0000 (+0000) Subject: fix ccache build order X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f74dd32cbad5458580f30a86a46e9e59ffa085e0;p=openwrt%2Fstaging%2Fmkresin.git fix ccache build order SVN-Revision: 5783 --- 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