Changes in tools/toolchain.sh [285589b:d965dc3] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/toolchain.sh

    r285589b rd965dc3  
    5555BINUTILS_VERSION="2.23.1"
    5656BINUTILS_RELEASE=""
    57 GCC_VERSION="4.8.1"
    58 GDB_VERSION="7.6"
     57GCC_VERSION="4.8.0"
     58GDB_VERSION="7.5.1"
    5959
    6060BASEDIR="`pwd`"
     
    254254}
    255255
    256 check_dirs() {
    257         OUTSIDE="$1"
    258         BASE="$2"
    259         ORIGINAL="`pwd`"
    260        
    261         cd "${OUTSIDE}"
    262         check_error $? "Unable to change directory to ${OUTSIDE}."
    263         ABS_OUTSIDE="`pwd`"
    264        
    265         cd "${BASE}"
    266         check_error $? "Unable to change directory to ${BASE}."
    267         ABS_BASE="`pwd`"
    268        
    269         cd "${ORIGINAL}"
    270         check_error $? "Unable to change directory to ${ORIGINAL}."
    271        
    272         BASE_LEN="${#ABS_BASE}"
    273         OUTSIDE_TRIM="${ABS_OUTSIDE:0:${BASE_LEN}}"
    274        
    275         if [ "${OUTSIDE_TRIM}" == "${ABS_BASE}" ] ; then
    276                 echo
    277                 echo "CROSS_PREFIX cannot reside within the working directory."
    278                
    279                 exit 5
    280         fi
    281 }
    282 
    283256unpack_tarball() {
    284257        FILE="$1"
     
    302275       
    303276        download_fetch "${BINUTILS_SOURCE}" "${BINUTILS}" "33adb18c3048d057ac58d07a3f1adb38"
    304         download_fetch "${GCC_SOURCE}" "${GCC}" "3b2386c114cd74185aa3754b58a79304"
    305         download_fetch "${GDB_SOURCE}" "${GDB}" "fda57170e4d11cdde74259ca575412a8"
     277        download_fetch "${GCC_SOURCE}" "${GCC}" "e6040024eb9e761c3bea348d1fa5abb0"
     278        download_fetch "${GDB_SOURCE}" "${GDB}" "3f48f468b24447cf24820054ff6e85b1"
    306279}
    307280
     
    333306        create_dir "${PREFIX}" "destination directory"
    334307        create_dir "${OBJDIR}" "GCC object directory"
    335        
    336         check_dirs "${PREFIX}" "${WORKDIR}"
    337308       
    338309        echo ">>> Unpacking tarballs"
Note: See TracChangeset for help on using the changeset viewer.