Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Side by Side Diff: tools/trusted_cross_toolchains/trusted-toolchain-creator.armel.precise.sh

Issue 10736073: Rename tools/llvm to tools/trusted_cross_toolchains (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/trusted_cross_toolchains/trusted-toolchain-creator.armel.lucid.sh ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # 5 #
6 #@ This script builds the (trusted) cross toolchain for arm. 6 #@ This script builds the (trusted) cross toolchain for arm.
7 #@ It must be run from the native_client/ directory. 7 #@ It must be run from the native_client/ directory.
8 #@ 8 #@
9 #@ The toolchain consists primarily of a jail with arm header and libraries. 9 #@ The toolchain consists primarily of a jail with arm header and libraries.
10 #@ It also provides additional tools such as QEMU. 10 #@ It also provides additional tools such as QEMU.
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 # see above for why we can no longer use -static 434 # see above for why we can no longer use -static
435 # --static 435 # --static
436 436
437 SubBanner "Make" 437 SubBanner "Make"
438 env -i PATH=/usr/bin/:/bin \ 438 env -i PATH=/usr/bin/:/bin \
439 V=99 make MAKE_OPTS=${MAKE_OPTS} 439 V=99 make MAKE_OPTS=${MAKE_OPTS}
440 440
441 SubBanner "Install ${INSTALL_ROOT}" 441 SubBanner "Install ${INSTALL_ROOT}"
442 cp arm-linux-user/qemu-arm ${INSTALL_ROOT} 442 cp arm-linux-user/qemu-arm ${INSTALL_ROOT}
443 cd ${saved_dir} 443 cd ${saved_dir}
444 cp tools/llvm/qemu_tool.sh ${INSTALL_ROOT} 444 cp tools/llvm/qemu_tool_arm.sh ${INSTALL_ROOT}
445 ln -sf qemu_tool.sh ${INSTALL_ROOT}/run_under_qemu_arm 445 ln -sf qemu_tool_arm.sh ${INSTALL_ROOT}/run_under_qemu_arm
446 } 446 }
447 447
448 #@ 448 #@
449 #@ BuildJail <tarball-name> 449 #@ BuildJail <tarball-name>
450 #@ 450 #@
451 #@ Build everything and package it 451 #@ Build everything and package it
452 BuildJail() { 452 BuildJail() {
453 ClearInstallDir 453 ClearInstallDir
454 InstallMissingArmLibrariesAndHeadersIntoJail \ 454 InstallMissingArmLibrariesAndHeadersIntoJail \
455 ${ARMEL_BASE_DEP_FILES} \ 455 ${ARMEL_BASE_DEP_FILES} \
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 exit -1 512 exit -1
513 elif [[ "$(type -t $1)" != "function" ]]; then 513 elif [[ "$(type -t $1)" != "function" ]]; then
514 echo "ERROR: unknown function '$1'." >&2 514 echo "ERROR: unknown function '$1'." >&2
515 echo "For help, try:" 515 echo "For help, try:"
516 echo " $0 help" 516 echo " $0 help"
517 exit 1 517 exit 1
518 else 518 else
519 SanityCheck 519 SanityCheck
520 "$@" 520 "$@"
521 fi 521 fi
OLDNEW
« no previous file with comments | « tools/trusted_cross_toolchains/trusted-toolchain-creator.armel.lucid.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698