[Buildroot] [git commit master 1/1] crosstool-ng: fix ctng-menuconfig with ccache enabled

Peter Korsgaard jacmet at sunsite.dk
Fri Feb 25 12:18:45 UTC 2011


commit: http://git.buildroot.net/buildroot/commit/?id=6c016c07e49a2272f2d71ac8d542665fb65903de
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

If ccache is enabled, we need to ensure it is built for the host before
anything else.

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 toolchain/toolchain-crosstool-ng/crosstool-ng.mk |    3 ++-
 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
-- 
1.7.3.4




More information about the buildroot mailing list