summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-02-25 12:08:39 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-02-25 12:08:39 (GMT)
commit6c016c07e49a2272f2d71ac8d542665fb65903de (patch)
treedbed949336af357d93b61e3b76dd63c0b8cb49f4
parented9737388fab1f20ca9ba0cc743bd9616c0946a9 (diff)
downloadbuildroot-6c016c07e49a2272f2d71ac8d542665fb65903de.tar.gz
buildroot-6c016c07e49a2272f2d71ac8d542665fb65903de.tar.bz2
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 8db8eac..edd643b 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