Commit ee355233 authored by Yann E. MORIN's avatar Yann E. MORIN Committed by Peter Korsgaard
Browse files

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: default avatar"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 936be892
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
Remove dependency on cvs.

cvs is used to retrieve newlib, which is not supported
under Buildroot, so cvs is not required.

--- crosstool-ng-1.8.0/configure.orig	2010-11-27 15:43:52.000000000 +0000
+++ crosstool-ng-1.8.0/configure	2010-11-27 15:44:10.000000000 +0000
@@ -359,7 +359,6 @@
              err="'libtool' 1.5.26 or above was not found"
 has_or_abort prog=stat
 has_or_abort prog="aria2c curl wget"
-has_or_abort prog=cvs
 has_or_abort prog=patch
 has_or_abort prog=tar
 has_or_abort prog=gzip
+9 −1
Original line number Diff line number Diff line
@@ -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