Changeset 5828554 in mainline for tools/toolchain.sh
- Timestamp:
- 2014-01-19T14:37:22Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cf982ff
- Parents:
- 2f591127 (diff), 476f62c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/toolchain.sh
r2f591127 r5828554 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" … … 154 155 echo " ppc32 32-bit PowerPC" 155 156 echo " ppc64 64-bit PowerPC" 157 echo " sparc32 SPARC V8" 156 158 echo " sparc64 SPARC V9" 157 159 echo " all build all targets" … … 377 379 HELENOS_TARGET="ppc64-helenos" 378 380 ;; 381 "sparc32") 382 LINUX_TARGET="sparc-leon3-linux-gnu" 383 HELENOS_TARGET="sparc-leon3-helenos" 384 ;; 379 385 "sparc64") 380 386 LINUX_TARGET="sparc64-linux-gnu" … … 440 446 echo ">>> Applying patches" 441 447 for p in $BINUTILS_PATCHES; do 442 patch_sources "${ BASEDIR}/${p}" 0 "binutils"448 patch_sources "${SRCDIR}/${p}" 0 "binutils" 443 449 done 444 450 for p in $GCC_PATCHES; do 445 patch_sources "${ BASEDIR}/${p}" 0 "GCC"451 patch_sources "${SRCDIR}/${p}" 0 "GCC" 446 452 done 447 453 for p in $GDB_PATCHES; do 448 patch_sources "${ BASEDIR}/${p}" 0 "GDB"454 patch_sources "${SRCDIR}/${p}" 0 "GDB" 449 455 done 450 456 … … 554 560 555 561 case "$1" in 556 amd64|arm32|ia32|ia64|mips32|mips32eb|mips64|ppc32|ppc64|sparc 64)562 amd64|arm32|ia32|ia64|mips32|mips32eb|mips64|ppc32|ppc64|sparc32|sparc64) 557 563 prepare 558 564 build_target "$1" … … 569 575 build_target "ppc32" 570 576 build_target "ppc64" 577 build_target "sparc32" 571 578 build_target "sparc64" 572 579 ;; … … 582 589 build_target "ppc32" & 583 590 build_target "ppc64" & 591 build_target "sparc32" & 584 592 build_target "sparc64" & 585 593 wait … … 604 612 605 613 build_target "ppc64" & 614 build_target "sparc32" & 615 wait 616 606 617 build_target "sparc64" & 607 618 wait
Note:
See TracChangeset
for help on using the changeset viewer.