X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/825044a682acfa790765ee03fb49e086c833c8b1..a13fd170d4c48add43edf8a54ba57073b4b9c7fc:/toolchain/Makefile?ds=sidebyside 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