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.armhf.base" | 106 readonly ARMEL_BASE_DEP_LIST="${SCRIPT_DIR}/packagelist.precise.armhf.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 30 matching lines...) Expand all Loading... |
158 libkrb5-3 \ | 156 libkrb5-3 \ |
159 libkrb5-dev \ | 157 libkrb5-dev \ |
160 libkrb5support0 \ | 158 libkrb5support0 \ |
161 libk5crypto3 \ | 159 libk5crypto3 \ |
162 libnspr4 \ | 160 libnspr4 \ |
163 libnspr4-dev \ | 161 libnspr4-dev \ |
164 libnss3 \ | 162 libnss3 \ |
165 libnss3-dev \ | 163 libnss3-dev \ |
166 libnss-db \ | 164 libnss-db \ |
167 liborbit2 \ | 165 liborbit2 \ |
| 166 libcap-dev \ |
| 167 libcap2 \ |
168 libpam0g \ | 168 libpam0g \ |
169 libpam0g-dev \ | 169 libpam0g-dev \ |
170 libpango1.0-0 \ | 170 libpango1.0-0 \ |
171 libpango1.0-dev \ | 171 libpango1.0-dev \ |
172 libpci3 \ | 172 libpci3 \ |
173 libpci-dev \ | 173 libpci-dev \ |
174 libpcre3 \ | 174 libpcre3 \ |
175 libpcre3-dev \ | 175 libpcre3-dev \ |
176 libpcrecpp0 \ | 176 libpcrecpp0 \ |
177 libpixman-1-0 \ | 177 libpixman-1-0 \ |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 elif [[ "$(type -t $1)" != "function" ]]; then | 570 elif [[ "$(type -t $1)" != "function" ]]; then |
571 echo "ERROR: unknown function '$1'." >&2 | 571 echo "ERROR: unknown function '$1'." >&2 |
572 echo "For help, try:" | 572 echo "For help, try:" |
573 echo " $0 help" | 573 echo " $0 help" |
574 exit 1 | 574 exit 1 |
575 else | 575 else |
576 ChangeDirectory | 576 ChangeDirectory |
577 SanityCheck | 577 SanityCheck |
578 "$@" | 578 "$@" |
579 fi | 579 fi |
OLD | NEW |