diff options
author | Yann E. MORIN <yann.morin.1998@anciens.enib.fr> | 2010-11-27 21:50:41 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-11-27 22:29:02 +0100 |
commit | ee355233bb065e1b035c2942e01efb8c72325c8f (patch) | |
tree | 572c836183effa2859652b2d54a9a0fa193f8ebb /toolchain/toolchain-crosstool-ng/crosstool-ng.mk | |
parent | 936be892ddc956164c9d9e2bf5cd86165cc5d4d5 (diff) |
toolchain/crosstool-NG: add dependencies on host- tools
Depends on:
- GNU awk --> host-gawk
- GNU automake --> host-automake
Remove dependency on 'cvs'. cvs is used to retrieve newlib,
which is not supported under Buildroot.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/toolchain-crosstool-ng/crosstool-ng.mk')
-rw-r--r-- | toolchain/toolchain-crosstool-ng/crosstool-ng.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk index 0812216a3..9a9f2720e 100644 --- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk +++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk @@ -267,8 +267,16 @@ $(CTNG_DIR)/.patched: $(CTNG_DIR)/.unpacked \*.patch.$(ARCH) $(Q)touch $@ +# Use order-only dependencies on host-* as they +# are virtual targets with no rules, and so are +# 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 \ + host-automake + $(CTNG_DIR)/.configured: $(CTNG_DIR)/.patched - $(Q)cd $(CTNG_DIR) && ./configure --local + $(Q)cd $(CTNG_DIR) && PATH=$(HOST_PATH) ./configure --local $(Q)touch $@ $(CTNG_DIR)/ct-ng: $(CTNG_DIR)/.configured |