Changeset a947d32 in mainline
- Timestamp:
- 2018-04-28T16:25:27Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4c4b53c
- Parents:
- e634684
- Location:
- tools
- Files:
-
- 4 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/toolchain.sh
re634684 ra947d32 31 31 BINUTILS_VERSION="2.30" 32 32 BINUTILS_RELEASE="" 33 ## BINUTILS_PATCHES="toolchain-binutils-2.23.1.patch"34 33 GCC_VERSION="7.3.0" 35 ## GCC_PATCHES="toolchain-gcc-4.8.1-targets.patch toolchain-gcc-4.8.1-headers.patch"36 34 GDB_VERSION="8.1" 37 ## GDB_PATCHES="toolchain-gdb-7.6.1.patch"38 35 39 36 BASEDIR="`pwd`" … … 253 250 } 254 251 255 patch_sources() {256 PATCH_FILE="$1"257 PATCH_STRIP="$2"258 DESC="$3"259 260 change_title "Patching ${DESC}"261 echo " >>> Patching ${DESC} with ${PATCH_FILE}"262 263 patch -t "-p${PATCH_STRIP}" <"$PATCH_FILE"264 check_error $? "Error patching ${DESC}."265 }266 267 252 prepare() { 268 253 show_dependencies … … 290 275 unpack_tarball "${BASEDIR}/downloads/${GCC}" "GCC" 291 276 unpack_tarball "${BASEDIR}/downloads/${GDB}" "GDB" 292 293 echo ">>> Applying patches"294 for p in $BINUTILS_PATCHES ; do295 patch_sources "${SRCDIR}/${p}" 0 "binutils"296 done297 for p in $GCC_PATCHES ; do298 patch_sources "${SRCDIR}/${p}" 0 "GCC"299 done300 for p in $GDB_PATCHES ; do301 patch_sources "${SRCDIR}/${p}" 0 "GDB"302 done303 277 304 278 echo ">>> Downloading GCC prerequisites"
Note:
See TracChangeset
for help on using the changeset viewer.