X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c6119ab77b34207d823eec9638822a2ebb85ca74..80d27b5e3cfc660e82f351d892248ff6595c4546:/toolchain/Makefile diff --git a/toolchain/Makefile b/toolchain/Makefile index 3f12218c2..4682dbed1 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -10,6 +10,7 @@ include $(TOPDIR)/rules.mk TARGETS-y:=kernel-headers TARGETS-$(CONFIG_GDB) += gdb +TARGETS-$(CONFIG_CCACHE) += ccache ifeq ($(CONFIG_NATIVE_TOOLCHAIN),) TARGETS-y+=binutils gcc uClibc endif @@ -24,6 +25,9 @@ install: $(TARGETS_INSTALL) clean: $(TARGETS_CLEAN) $(TARGETS_INSTALL): $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME) +ifeq ($(CONFIG_CCACHE),y) + uClibc-prepare: ccache-install +endif uClibc-prepare: kernel-headers-prepare ifeq ($(CONFIG_NATIVE_TOOLCHAIN),) binutils-prepare: uClibc-prepare