| OLD | NEW |
| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 readonly ARMEL_BASE_DEP_LIST="${SCRIPT_DIR}/packagelist.precise.armel.base" | 106 readonly ARMEL_BASE_DEP_LIST="${SCRIPT_DIR}/packagelist.precise.armel.base" |
| 107 readonly ARMEL_BASE_DEP_FILES="$(cat ${ARMEL_BASE_DEP_LIST})" | 107 readonly ARMEL_BASE_DEP_FILES="$(cat ${ARMEL_BASE_DEP_LIST})" |
| 108 | 108 |
| 109 readonly ARMEL_EXTRA_PACKAGES="\ | 109 readonly ARMEL_EXTRA_PACKAGES="\ |
| 110 comerr-dev \ | 110 comerr-dev \ |
| 111 krb5-multidev \ | 111 krb5-multidev \ |
| 112 libasound2 \ | 112 libasound2 \ |
| 113 libasound2-dev \ | 113 libasound2-dev \ |
| 114 libatk1.0-0 \ | 114 libatk1.0-0 \ |
| 115 libatk1.0-dev \ | 115 libatk1.0-dev \ |
| 116 libbz2-1.0 \ | |
| 117 libbz2-dev \ | |
| 118 libcairo2 \ | 116 libcairo2 \ |
| 119 libcairo2-dev \ | 117 libcairo2-dev \ |
| 120 libcairo-gobject2 \ | 118 libcairo-gobject2 \ |
| 121 libcairo-script-interpreter2 \ | 119 libcairo-script-interpreter2 \ |
| 122 libcomerr2 \ | 120 libcomerr2 \ |
| 123 libcups2 \ | 121 libcups2 \ |
| 124 libcups2-dev \ | 122 libcups2-dev \ |
| 125 libdbus-1-3 \ | 123 libdbus-1-3 \ |
| 126 libdbus-1-dev \ | 124 libdbus-1-dev \ |
| 127 libexpat1 \ | 125 libexpat1 \ |
| (...skipping 29 matching lines...) Expand all Loading... |
| 157 libkrb5-3 \ | 155 libkrb5-3 \ |
| 158 libkrb5-dev \ | 156 libkrb5-dev \ |
| 159 libkrb5support0 \ | 157 libkrb5support0 \ |
| 160 libk5crypto3 \ | 158 libk5crypto3 \ |
| 161 libnspr4 \ | 159 libnspr4 \ |
| 162 libnspr4-dev \ | 160 libnspr4-dev \ |
| 163 libnss3 \ | 161 libnss3 \ |
| 164 libnss3-dev \ | 162 libnss3-dev \ |
| 165 libnss-db \ | 163 libnss-db \ |
| 166 liborbit2 \ | 164 liborbit2 \ |
| 165 libcap-dev \ |
| 166 libcap2 \ |
| 167 libpam0g \ | 167 libpam0g \ |
| 168 libpam0g-dev \ | 168 libpam0g-dev \ |
| 169 libpango1.0-0 \ | 169 libpango1.0-0 \ |
| 170 libpango1.0-dev \ | 170 libpango1.0-dev \ |
| 171 libpci3 \ | 171 libpci3 \ |
| 172 libpci-dev \ | 172 libpci-dev \ |
| 173 libpcre3 \ | 173 libpcre3 \ |
| 174 libpcre3-dev \ | 174 libpcre3-dev \ |
| 175 libpcrecpp0 \ | 175 libpcrecpp0 \ |
| 176 libpixman-1-0 \ | 176 libpixman-1-0 \ |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 elif [[ "$(type -t $1)" != "function" ]]; then | 566 elif [[ "$(type -t $1)" != "function" ]]; then |
| 567 echo "ERROR: unknown function '$1'." >&2 | 567 echo "ERROR: unknown function '$1'." >&2 |
| 568 echo "For help, try:" | 568 echo "For help, try:" |
| 569 echo " $0 help" | 569 echo " $0 help" |
| 570 exit 1 | 570 exit 1 |
| 571 else | 571 else |
| 572 ChangeDirectory | 572 ChangeDirectory |
| 573 SanityCheck | 573 SanityCheck |
| 574 "$@" | 574 "$@" |
| 575 fi | 575 fi |
| OLD | NEW |