Browse Source

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 <jacmet@sunsite.dk>
Peter Korsgaard 14 years ago
parent
commit
6c016c07e4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      toolchain/toolchain-crosstool-ng/crosstool-ng.mk

+ 2 - 1
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