Changeset 6c9f1a6 in mainline
- Timestamp:
- 2013-07-19T11:23:03Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a65d29
- Parents:
- 322ac35c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/toolchain.sh
r322ac35c r6c9f1a6 287 287 } 288 288 289 set_target_from_platform() { 290 case "$1" in 291 "amd64") 292 TARGET="amd64-linux-gnu" 293 ;; 294 "arm32") 295 TARGET="arm-linux-gnueabi" 296 ;; 297 "ia32") 298 TARGET="i686-pc-linux-gnu" 299 ;; 300 "ia64") 301 TARGET="ia64-pc-linux-gnu" 302 ;; 303 "mips32") 304 TARGET="mipsel-linux-gnu" 305 ;; 306 "mips32eb") 307 TARGET="mips-linux-gnu" 308 ;; 309 "mips64") 310 TARGET="mips64el-linux-gnu" 311 ;; 312 "ppc32") 313 TARGET="ppc-linux-gnu" 314 ;; 315 "ppc64") 316 TARGET="ppc64-linux-gnu" 317 ;; 318 "sparc64") 319 TARGET="sparc64-linux-gnu" 320 ;; 321 *) 322 check_error 1 "No target known for $1." 323 ;; 324 esac 325 } 326 289 327 build_target() { 290 328 PLATFORM="$1" 291 TARGET="$2" 329 # This sets the TARGET variable 330 set_target_from_platform "$PLATFORM" 292 331 293 332 WORKDIR="${BASEDIR}/${PLATFORM}" … … 418 457 419 458 case "$1" in 420 "amd64")459 amd64|arm32|ia32|ia64|mips32|mips32eb|mips64|ppc32|ppc64|sparc64) 421 460 prepare 422 build_target "amd64" "amd64-linux-gnu" 423 ;; 424 "arm32") 425 prepare 426 build_target "arm32" "arm-linux-gnueabi" 427 ;; 428 "ia32") 429 prepare 430 build_target "ia32" "i686-pc-linux-gnu" 431 ;; 432 "ia64") 433 prepare 434 build_target "ia64" "ia64-pc-linux-gnu" 435 ;; 436 "mips32") 437 prepare 438 build_target "mips32" "mipsel-linux-gnu" 439 ;; 440 "mips32eb") 441 prepare 442 build_target "mips32eb" "mips-linux-gnu" 443 ;; 444 "mips64") 445 prepare 446 build_target "mips64" "mips64el-linux-gnu" 447 ;; 448 "ppc32") 449 prepare 450 build_target "ppc32" "ppc-linux-gnu" 451 ;; 452 "ppc64") 453 prepare 454 build_target "ppc64" "ppc64-linux-gnu" 455 ;; 456 "sparc64") 457 prepare 458 build_target "sparc64" "sparc64-linux-gnu" 461 build_target "$1" 459 462 ;; 460 463 "all") 461 464 prepare 462 build_target "amd64" "amd64-linux-gnu"463 build_target "arm32" "arm-linux-gnueabi"464 build_target "ia32" "i686-pc-linux-gnu"465 build_target "ia64" "ia64-pc-linux-gnu"466 build_target "mips32" "mipsel-linux-gnu"467 build_target "mips32eb" "mips-linux-gnu"468 build_target "mips64" "mips64el-linux-gnu"469 build_target "ppc32" "ppc-linux-gnu"470 build_target "ppc64" "ppc64-linux-gnu"471 build_target "sparc64" "sparc64-linux-gnu"465 build_target "amd64" 466 build_target "arm32" 467 build_target "ia32" 468 build_target "ia64" 469 build_target "mips32" 470 build_target "mips32eb" 471 build_target "mips64" 472 build_target "ppc32" 473 build_target "ppc64" 474 build_target "sparc64" 472 475 ;; 473 476 "parallel") 474 477 prepare 475 build_target "amd64" "amd64-linux-gnu"&476 build_target "arm32" "arm-linux-gnueabi"&477 build_target "ia32" "i686-pc-linux-gnu"&478 build_target "ia64" "ia64-pc-linux-gnu"&479 build_target "mips32" "mipsel-linux-gnu"&480 build_target "mips32eb" "mips-linux-gnu"&481 build_target "mips64" "mips64el-linux-gnu"&482 build_target "ppc32" "ppc-linux-gnu"&483 build_target "ppc64" "ppc64-linux-gnu"&484 build_target "sparc64" "sparc64-linux-gnu"&478 build_target "amd64" & 479 build_target "arm32" & 480 build_target "ia32" & 481 build_target "ia64" & 482 build_target "mips32" & 483 build_target "mips32eb" & 484 build_target "mips64" & 485 build_target "ppc32" & 486 build_target "ppc64" & 487 build_target "sparc64" & 485 488 wait 486 489 ;; 487 490 "2-way") 488 491 prepare 489 build_target "amd64" "amd64-linux-gnu"&490 build_target "arm32" "arm-linux-gnueabi"&492 build_target "amd64" & 493 build_target "arm32" & 491 494 wait 492 495 493 build_target "ia32" "i686-pc-linux-gnu"&494 build_target "ia64" "ia64-pc-linux-gnu"&496 build_target "ia32" & 497 build_target "ia64" & 495 498 wait 496 499 497 build_target "mips32" "mipsel-linux-gnu"&498 build_target "mips32eb" "mips-linux-gnu"&500 build_target "mips32" & 501 build_target "mips32eb" & 499 502 wait 500 503 501 build_target "mips64" "mips64el-linux-gnu"&502 build_target "ppc32" "ppc-linux-gnu"&504 build_target "mips64" & 505 build_target "ppc32" & 503 506 wait 504 507 505 build_target "ppc64" "ppc64-linux-gnu"&506 build_target "sparc64" "sparc64-linux-gnu"&508 build_target "ppc64" & 509 build_target "sparc64" & 507 510 wait 508 511 ;;
Note:
See TracChangeset
for help on using the changeset viewer.