summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-02-25 13:08:39 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-02-25 13:08:39 +0100
commit6c016c07e49a2272f2d71ac8d542665fb65903de (patch)
treedbed949336af357d93b61e3b76dd63c0b8cb49f4
parented9737388fab1f20ca9ba0cc743bd9616c0946a9 (diff)
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>
-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