Changeset 839 for trunk/Makefile


Ignore:
Timestamp:
Oct 26, 2003, 4:30:41 AM (22 years ago)
Author:
bird
Message:

Binutils 2.14.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    • Property cvs2svn:cvs-rev changed from 1.56 to 1.57
    r838 r839  
    5757export GCC_CVS_VENDOR                   ?= GNU
    5858export GCC_CVS_REL                              ?= GCC_3-2-2
    59 export BINUTILS_VERSION                 ?= 2.11.2
    60 export BINUTILS_VERSION_SHORT   ?= 2112
     59export BINUTILS_VERSION                 ?= 2.14
     60export BINUTILS_VERSION_SHORT   ?= 214
    6161export BINUTILS_CVS_VENDOR              ?= GNU
    62 export BINUTILS_CVS_REL                 ?= BINUTILS_2-11-2
     62export BINUTILS_CVS_REL                 ?= BINUTILS_2-14
    6363export EMX_VERSION                              ?= 0.9d-fix04
    6464export EMX_VERSION_SHORT        ?= 9d04
     
    178178        @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++"
    179179
     180all-banner-symlinks-start:
     181        @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++"
     182        @echo "+ symlinks - staring: $(shell date)"
     183        @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++"
     184               
     185all-banner-symlinks-done:
     186        @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++"
     187        @echo "+ symlinks - done: $(shell date)"
     188        @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++"
     189
     190all-banner-symlinks-unlink-start:
     191        @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++"
     192        @echo "+ symlinks unlinking - staring: $(shell date)"
     193        @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++"
     194               
     195all-banner-symlinks-unlink-done:
     196        @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++"
     197        @echo "+ symlinks unlinking - done: $(shell date)"
     198        @echo "+++++++++++++++++++++++++++++++++++++++++++++++++++"
     199                                                               
    180200               
    181201#
     
    489509###############################################################################
    490510all-symlinks: \
    491                 all-symlinks-binutils
     511                all-banner-symlinks-start \
     512                all-symlinks-binutils \
     513                all-banner-symlinks-done
    492514
    493515all-symlinks-unlink: \
    494                 all-symlinks-unlink-binutils
     516                all-banner-symlinks-unlink-start \
     517                all-symlinks-unlink-binutils \
     518                all-banner-symlinks-unlink-done
    495519               
    496520               
     
    501525TOOL_UNSYMLINK_DIR  = rm -Rf
    502526else
    503 TOOL_SYMLINK_FILE   = ln -s
    504 TOOL_SYMLINK_DIR    = ln -s
     527TOOL_SYMLINK_FILE   = ln -fs
     528TOOL_SYMLINK_DIR    = ln -fs
    505529TOOL_SYMLINK_MKDIR  = true
    506530TOOL_UNSYMLINK_DIR  = rm
     
    519543opcodes \
    520544texinfo \
     545libiberty \
    521546include/aout \
    522547include/coff \
    523548include/elf     \
     549include/gdb     \
     550include/mpw     \
    524551include/nlm     \
    525552include/opcode \
     
    532559include/bin-bugs.h \
    533560include/bout.h \
    534 include/callback.h \
    535561include/ChangeLog \
    536562include/COPYING \
     
    538564include/dis-asm.h \
    539565include/dyn-string.h \
     566include/fibheap.h \
    540567include/filenames.h \
    541568include/floatformat.h \
     
    558585include/partition.h \
    559586include/progress.h \
    560 include/remote-sim.h \
    561587include/safe-ctype.h \
    562 include/sim-d10v.h \
    563588include/sort.h \
    564589include/splay-tree.h \
    565590include/symcat.h \
     591include/ternary.h \
     592include/xregex.h \
     593include/xregex2.h \
     594include/xtensa-config.h \
     595include/xtensa-isa-internal.h \
     596include/xtensa-isa.h \
     597
    566598       
    567599# Symlink binutils stuff to gcc.
     
    569601all-symlinks-binutils:
    570602        for file in $(SYMLINKS_BINUTILS_TO_GCC_FILES); do \
    571                 if [ ! -f "$(PATH_TOP)/src/gcc/$$file" ]; then  \
    572                         $(TOOL_SYMLINK_FILE)  $(PATH_TOP)/src/binutils/$$file $(PATH_TOP)/src/gcc/$$file && \
    573                         touch                 $(PATH_TOP)/src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'`; \
     603                if [ ! -f "$(PATH_TOP)/src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'`" ]; then  \
     604                        echo symlinking file src/gcc/$${file} to src/binutils/$${file} ; \
     605                        if      rm -f $(PATH_TOP)/src/gcc/$$file && \
     606                                $(TOOL_SYMLINK_FILE)  $(PATH_TOP)/src/binutils/$$file $(PATH_TOP)/src/gcc/$$file && \
     607                                touch                 $(PATH_TOP)/src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'`; \
     608                                then true ; \
     609                        else exit 1; \
     610                        fi ; \
    574611                fi ; \
    575         done
     612        done   
    576613        for dir in $(SYMLINKS_BINUTILS_TO_GCC_DIRS) ; do \
    577                 if [ ! -d "$(PATH_TOP)/src/gcc/$$dir" ] ; then  \
    578                         $(TOOL_SYMLINK_MKDIR) $(PATH_TOP)/src/gcc/$$dir && \
    579                         touch                 $(PATH_TOP)/src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'` && \
    580                         $(TOOL_SYMLINK_DIR)   $(PATH_TOP)/src/binutils/$$dir $(PATH_TOP)/src/gcc/`echo $${dir}| sed -e '/\//!d' -e 's@\([a-zA-z0-9]*\)/.*@\1/@'` ; \
     614                if [ ! -f "$(PATH_TOP)/src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'`" ] ; then  \
     615                        echo symlinking directory src/gcc/$${dir} to src/binutils/$${dir} ; \
     616                        if [ -d "$(PATH_TOP)/src/gcc/$$dir" ] ; then \
     617                            echo removing existing directory: $${dir} ; \
     618                                rm -Rf $(PATH_TOP)/src/gcc/$$dir ; \
     619                        fi ; \
     620                        if      $(TOOL_SYMLINK_MKDIR) $(PATH_TOP)/src/gcc/$$dir && \
     621                                $(TOOL_SYMLINK_DIR)   $(PATH_TOP)/src/binutils/$$dir $(PATH_TOP)/src/gcc/`echo $${dir}| sed -e '/\//!d' -e 's@\([a-zA-z0-9]*\)/.*@\1/@'` ; \
     622                                touch                 $(PATH_TOP)/src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'` ; \
     623                                then true ; \
     624                        else exit 1; \
     625                        fi ; \
    581626                fi ; \
    582627        done
     
    584629
    585630all-symlinks-unlink-binutils:
    586         for file in $(SYMLINKS_BINUTILS_TO_GCC_FILES); do \
    587                 if [ -f "$(PATH_TOP)/src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'`" ]; then  \
    588                         rm  $(PATH_TOP)/src/gcc/$${file} && \
    589                         rm  $(PATH_TOP)/src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'` ; \
     631        for name in `ls src/gcc/.symlinked* | sed -e "s/.*\.symlinked.//" -e "s/_/\//g"`; do \
     632                echo unlinking $${name} ; \
     633                if [ -d "$(PATH_TOP)/src/gcc/$${name}" ] ; then  \
     634                        rm -Rf $(PATH_TOP)/src/gcc/$${name} ; \
     635                else \
     636                        rm -f $(PATH_TOP)/src/gcc/$${name} ; \
    590637                fi ; \
    591         done
    592         for dir in $(SYMLINKS_BINUTILS_TO_GCC_DIRS) ; do \
    593                 if [ -f "$(PATH_TOP)/src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'`" ] ; then  \
    594                         $(TOOL_UNSYMLINK_DIR) $(PATH_TOP)/src/gcc/$${dir} && \
    595                         rm                    $(PATH_TOP)/src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'`; \
     638                if [ ! -f "$(PATH_TOP)/src/gcc/$${name}" -a ! -d "$(PATH_TOP)/src/gcc/$${name}" ] ; then \
     639                        rm  $(PATH_TOP)/src/gcc/.symlinked.`echo $${name} | sed -e 's@/@_@g'` ; \
     640                else \
     641                        echo "unlink error: $(PATH_TOP)/src/gcc/$${name} exist" ; \
     642                        ls -l "$(PATH_TOP)/src/gcc/$${name}" ; \
     643                        exit 1; \
    596644                fi ; \
    597645        done
     
    11421190
    11431191ZIPFLAGS=-rX9
    1144 ZIPBASE=$(PATH_BIN)/GCC-$(GCC_VERSION)-beta3
     1192ZIPBASE=$(PATH_BIN)/GCC-$(GCC_VERSION)-beta4
    11451193
    11461194packing-all:
Note: See TracChangeset for help on using the changeset viewer.