~sheosi/helenos/lua

« back to all changes in this revision

Viewing changes to tools/toolchain.sh

  • Committer: Sergio Tortosa (sheosi)
  • Date: 2013-12-22 14:13:23 UTC
  • mfrom: (2032.1.12 mainline)
  • Revision ID: sertorbe@gmail.com-20131222141323-gbiqm4j2w9sbjty5
MergedĀ mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
GDB_PATCHES="toolchain-gdb-7.6.1.patch"
62
62
 
63
63
BASEDIR="`pwd`"
 
64
SRCDIR="$(readlink -f $(dirname "$0"))"
64
65
BINUTILS="binutils-${BINUTILS_VERSION}${BINUTILS_RELEASE}.tar.bz2"
65
66
GCC="gcc-${GCC_VERSION}.tar.bz2"
66
67
GDB="gdb-${GDB_VERSION}.tar.bz2"
439
440
        
440
441
        echo ">>> Applying patches"
441
442
        for p in $BINUTILS_PATCHES; do
442
 
                patch_sources "${BASEDIR}/${p}" 0 "binutils"
 
443
                patch_sources "${SRCDIR}/${p}" 0 "binutils"
443
444
        done
444
445
        for p in $GCC_PATCHES; do
445
 
                patch_sources "${BASEDIR}/${p}" 0 "GCC"
 
446
                patch_sources "${SRCDIR}/${p}" 0 "GCC"
446
447
        done
447
448
        for p in $GDB_PATCHES; do
448
 
                patch_sources "${BASEDIR}/${p}" 0 "GDB"
 
449
                patch_sources "${SRCDIR}/${p}" 0 "GDB"
449
450
        done
450
451
        
451
452
        echo ">>> Processing binutils (${PLATFORM})"