From: Peter Korsgaard Date: Fri, 25 Feb 2011 12:08:39 +0000 (+0100) Subject: crosstool-ng: fix ctng-menuconfig with ccache enabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c016c07e49a2272f2d71ac8d542665fb65903de;p=buildroot.git crosstool-ng: fix ctng-menuconfig with ccache enabled If ccache is enabled, we need to ensure it is built for the host before anything else. Signed-off-by: Peter Korsgaard --- diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk index 8db8eac5c9..edd643baae 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