OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 PROG=$(basename $0) | 2 PROG=$(basename $0) |
3 | 3 |
4 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 4 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
7 | 7 |
8 # Script to build the set of binary packages needed by Chrome OS. It will | 8 # Script to build the set of binary packages needed by Chrome OS. It will |
9 # cross compile all of the packages into the given targets root and build | 9 # cross compile all of the packages into the given targets root and build |
10 # binary packages as a side-effect. The output packages will be picked up | 10 # binary packages as a side-effect. The output packages will be picked up |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 else | 154 else |
155 echo "Building ${PACKAGES} (working on ${CROS_WORKON_PKGS})" | 155 echo "Building ${PACKAGES} (working on ${CROS_WORKON_PKGS})" |
156 eretry ${EMERGE_BOARD_CMD} -uDNv ${EMERGE_FLAGS} ${PACKAGES} | 156 eretry ${EMERGE_BOARD_CMD} -uDNv ${EMERGE_FLAGS} ${PACKAGES} |
157 if [ -n "${CROS_WORKON_PKGS}" ]; then | 157 if [ -n "${CROS_WORKON_PKGS}" ]; then |
158 ${EMERGE_BOARD_CMD} --oneshot ${CROS_WORKON_PKGS} | 158 ${EMERGE_BOARD_CMD} --oneshot ${CROS_WORKON_PKGS} |
159 fi | 159 fi |
160 fi | 160 fi |
161 | 161 |
162 if [[ $FLAGS_withautotest -eq $FLAGS_TRUE ]]; then | 162 if [[ $FLAGS_withautotest -eq $FLAGS_TRUE ]]; then |
163 echo "Building Autotest" | 163 echo "Building Autotest" |
164 ./autotest --build=all --noprompt --board=${FLAGS_board} | 164 ./build_autotest.sh --board=${FLAGS_board} |
165 fi | 165 fi |
166 | 166 |
167 echo "Builds complete" | 167 echo "Builds complete" |
168 print_time_elapsed | 168 print_time_elapsed |
169 echo "Done" | 169 echo "Done" |
OLD | NEW |