tools/tools.mk
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Apr 30 10:43:41 2008 +0000 (2008-04-30)
changeset 466 7f9bbf94b0bb
parent 261 4b8cba298bf3
child 493 567c97607f4e
permissions -rw-r--r--
Merge the fortran stuff to trunk now it works!
Fortran is not supported for all targets, though. ARM at least does not work.

/trunk/scripts/build/binutils.sh | 8 8 0 0 ++++++++
/trunk/scripts/build/cc_gcc.sh | 11 6 5 0 ++++++-----
/trunk/scripts/crosstool.sh | 10 9 1 0 +++++++++-
/trunk/tools/addToolVersion.sh | 3 3 0 0 +++
/trunk/steps.mk | 2 2 0 0 ++
/trunk/config/cc/gcc.in | 16 16 0 0 ++++++++++++++++
6 files changed, 44 insertions(+), 6 deletions(-)
     1 # Makefile for the tools/ sub-directory
     2 
     3 # Here, we can update the config.* scripts.
     4 # If we're in CT_LIB_DIR, then CT_LIB_DIR == CT_TOP_DIR, and we can update those
     5 # scripts for later inclusion mainline. If CT_LIB_DIR != CT_TOP_DIR, then those
     6 # scripts are downloaded only for use in CT_TOP_DIR.
     7 
     8 CONFIG_SUB_SRC="http://cvs.savannah.gnu.org/viewcvs/*checkout*/config/config/config.sub"
     9 CONFIG_SUB_DEST="$(CT_TOP_DIR)/tools/config.sub"
    10 CONFIG_GUESS_SRC="http://cvs.savannah.gnu.org/viewcvs/*checkout*/config/config/config.guess"
    11 CONFIG_GUESS_DEST="$(CT_TOP_DIR)/tools/config.guess"
    12 
    13 $(CT_TOP_DIR)/tools:
    14 	@mkdir -p $(CT_TOP_DIR)/tools
    15 
    16 PHONY += updatetools
    17 updatetools: $(CT_TOP_DIR)/tools $(CONFIG_SUB_DEST) $(CONFIG_GUESS_DEST)
    18 
    19 $(CONFIG_SUB_DEST):
    20 	@wget $(CONFIG_SUB_SRC) -O $@
    21 	@chmod u+rwx,go+rx-w $@
    22 
    23 $(CONFIG_GUESS_DEST):
    24 	@wget $(CONFIG_GUESS_SRC) -O $@
    25 	@chmod u+rwx,go+rx-w $@
    26 
    27 help-distrib::
    28 	@echo  '  updatetools        - Update the config tools'
    29 
    30 distclean::
    31 	@[ $(CT_TOP_DIR) = $(CT_LIB_DIR) ] || rm -rf $(CT_TOP_DIR)/tools