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

Side by Side Diff: tools/trusted_cross_toolchains/trusted-toolchain-creator.mipsel.squeeze.sh

Issue 11299042: MIPS trusted toolchain: Don't skip QEMU patch if the file is missing (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 8 years, 1 month 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 | « no previous file | 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 2012 The Native Client Authors. All rights reserved. 2 # Copyright 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can 3 # Use of this source code is governed by a BSD-style license that can
4 # be found in the LICENSE file. 4 # be found in the LICENSE file.
5 # 5 #
6 #@ This script creates the mips trusted SDK. 6 #@ This script creates the mips trusted SDK.
7 #@ It must be run from the native_client directory. 7 #@ It must be run from the native_client directory.
8 8
9 # This script is intended to build a mipsel-linux-gnu cross compilation 9 # This script is intended to build a mipsel-linux-gnu cross compilation
10 # toolchain that runs on x86 linux and generates code for a little-endian, 10 # toolchain that runs on x86 linux and generates code for a little-endian,
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 560
561 Banner "Building qemu in ${tmpdir}" 561 Banner "Building qemu in ${tmpdir}"
562 562
563 rm -rf ${tmpdir} 563 rm -rf ${tmpdir}
564 mkdir ${tmpdir} 564 mkdir ${tmpdir}
565 cd ${tmpdir} 565 cd ${tmpdir}
566 566
567 SubBanner "Downloading" 567 SubBanner "Downloading"
568 wget -c ${DOWNLOAD_QEMU_URL} 568 wget -c ${DOWNLOAD_QEMU_URL}
569 569
570 SubBanner "Untaring" 570 SubBanner "Untarring"
571 tar zxf ${tarball} 571 tar zxf ${tarball}
572 cd qemu-0.12.5 572 cd qemu-0.12.5
573 573 SubBanner "Patching"
574 if [ -f "${PATCH_MIPS32}" ]; then 574 patch -p1 < ${PATCH_MIPS32}
575 SubBanner "Patching"
576 patch -p1 < ${PATCH_MIPS32}
577 fi
578 575
579 echo 576 echo
580 echo "NOTE: on 64 bit systems you will need to the following 32bit libs:" 577 echo "NOTE: on 64 bit systems you will need to the following 32bit libs:"
581 echo "lib32z1-dev" 578 echo "lib32z1-dev"
582 echo 579 echo
583 580
584 SubBanner "Configuring" 581 SubBanner "Configuring"
585 env -i PATH=/usr/bin/:/bin \ 582 env -i PATH=/usr/bin/:/bin \
586 ./configure \ 583 ./configure \
587 --cc=${CC32} \ 584 --cc=${CC32} \
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 InstallTrustedLinkerScript 623 InstallTrustedLinkerScript
627 BuildAndInstallQemu 624 BuildAndInstallQemu
628 CreateTarBall $1 625 CreateTarBall $1
629 626
630 else 627 else
631 Usage 628 Usage
632 exit -1 629 exit -1
633 630
634 fi 631 fi
635 632
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698