Changes in tools/toolchain.sh [2a922c8:603c8740] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/toolchain.sh

    r2a922c8 r603c8740  
    5555BINUTILS_VERSION="2.21"
    5656GCC_VERSION="4.6.0"
    57 GDB_VERSION="7.2"
    5857
    5958BASEDIR="`pwd`"
     
    6261GCC_OBJC="gcc-objc-${GCC_VERSION}.tar.bz2"
    6362GCC_CPP="gcc-g++-${GCC_VERSION}.tar.bz2"
    64 GDB="gdb-${GDB_VERSION}.tar.bz2"
    6563
    6664#
     
    271269        BINUTILS_SOURCE="ftp://ftp.gnu.org/gnu/binutils/"
    272270        GCC_SOURCE="ftp://ftp.gnu.org/gnu/gcc/gcc-${GCC_VERSION}/"
    273         GDB_SOURCE="ftp://ftp.gnu.org/gnu/gdb/"
    274271       
    275272        download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" "c84c5acc9d266f1a7044b51c85a823f5"
     
    277274        download_fetch "${GCC_SOURCE}" "${GCC_OBJC}" "120d4675366ee82ea52f9ed65b57da04"
    278275        download_fetch "${GCC_SOURCE}" "${GCC_CPP}" "a30090fa655d0db4c970740d353c81f1"
    279         download_fetch "${GDB_SOURCE}" "${GDB}" "64260e6c56979ee750a01055f16091a5"
    280276}
    281277
     
    288284        GCCDIR="${WORKDIR}/gcc-${GCC_VERSION}"
    289285        OBJDIR="${WORKDIR}/gcc-obj"
    290         GDBDIR="${WORKDIR}/gdb-${GDB_VERSION}"
    291286       
    292287        if [ -z "${CROSS_PREFIX}" ] ; then
     
    301296        source_check "${BASEDIR}/${GCC_OBJC}"
    302297        source_check "${BASEDIR}/${GCC_CPP}"
    303         source_check "${BASEDIR}/${GDB}"
    304298       
    305299        echo ">>> Removing previous content"
     
    318312        unpack_tarball "${BASEDIR}/${GCC_OBJC}" "Objective C"
    319313        unpack_tarball "${BASEDIR}/${GCC_CPP}" "C++"
    320         unpack_tarball "${BASEDIR}/${GDB}" "GDB"
    321314       
    322315        echo ">>> Processing binutils (${PLATFORM})"
     
    343336        PATH="${PATH}:${PREFIX}/bin" make all-gcc install-gcc
    344337        check_error $? "Error compiling/installing GCC."
    345        
    346         echo ">>> Processing GDB (${PLATFORM})"
    347         cd "${GDBDIR}"
    348         check_error $? "Change directory failed."
    349        
    350         change_title "GDB: configure (${PLATFORM})"
    351         ./configure "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-"
    352         check_error $? "Error configuring GDB."
    353        
    354         change_title "GDB: make (${PLATFORM})"
    355         make all install
    356         check_error $? "Error compiling/installing GDB."
    357338       
    358339        cd "${BASEDIR}"
Note: See TracChangeset for help on using the changeset viewer.