| Index: sync_build_test.sh
|
| diff --git a/sync_build_test.sh b/sync_build_test.sh
|
| index 1b61ffdec407ffc727a700dca652cfa90c4a4567..ce19479e92f2d33bf833777280ec16243a89e7d9 100755
|
| --- a/sync_build_test.sh
|
| +++ b/sync_build_test.sh
|
| @@ -79,6 +79,7 @@ DEFINE_string test "" \
|
| DEFINE_string top "" \
|
| "Root directory of your checkout (defaults to determining from your cwd)"
|
| DEFINE_boolean withdev ${FLAGS_TRUE} "Build development packages"
|
| +DEFINE_boolean usepkg ${FLAGS_TRUE} "Use binary packages"
|
| DEFINE_boolean unittest ${FLAGS_TRUE} "Run unit tests"
|
|
|
|
|
| @@ -516,10 +517,15 @@ function main() {
|
| if [[ ${FLAGS_build_autotest} -eq ${FLAGS_TRUE} ]]; then
|
| build_autotest_param="--withautotest"
|
| fi
|
| + local pkg_param=""
|
| + if [[ ${FLAGS_usepkg} -eq ${FLAGS_FALSE} ]]; then
|
| + pkg_param="--nousepkg"
|
| + fi
|
|
|
| run_phase_in_chroot "Building packages" \
|
| ./build_packages "${board_param}" \
|
| - ${jobs_param} ${withdev_param} ${build_autotest_param}
|
| + ${jobs_param} ${withdev_param} ${build_autotest_param} \
|
| + ${pkg_param}
|
|
|
| run_phase_in_chroot "Building unit tests" ./build_tests.sh ${board_param}
|
| if [[ "${FLAGS_board}" == "x86-generic" ]]; then
|
|
|