summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--toolchain/toolchain-crosstool-ng/crosstool-ng.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
index 8db8eac5c..edd643baa 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
@@ -395,7 +395,8 @@ $(CTNG_DIR)/.patched: $(CTNG_DIR)/.unpacked
# considered always remade. But we do not want
# to reconfigure and rebuild ct-ng every time
# we need to run it...
-$(CTNG_DIR)/.configured: | host-gawk \
+$(CTNG_DIR)/.configured: | $(if $(BR2_CCACHE),host-ccache) \
+ host-gawk \
host-automake
$(CTNG_DIR)/.configured: $(CTNG_DIR)/.patched