Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 50 lines (41 sloc) 924 Bytes
#!/bin/bash
source ${0%/*}/utils/common.sh
function usage() {
cat <<EOF
Usage: $0 [options]
-h| --help Display help text.
-n| --no-questions No interactive mode (default behavior by default: raspbian image cache is not re-downloaded).
EOF
}
while [[ $# -gt 0 ]]; do
KEY="$1"
case $KEY in
-h|--help)
DISPLAY_HELP=true
;;
-n|--no-questions)
NO_QUESTIONS=true
;;
*)
;;
esac
shift
done
if [[ $DISPLAY_HELP ]]; then
usage
exit 0
fi
RASPBIAN_ARG=''
if [[ $NO_QUESTIONS ]]; then
RASPBIAN_ARG='--no-download'
fi
check_env_vars
cd utils
./init-common.sh
./synchronize-toolchain.sh
./download-raspbian.sh $RASPBIAN_ARG
./prepare-sysroot-full.sh
./prepare-sysroot-minimal.sh
./switch-sysroot.sh full
./synchronize-qt-modules.sh
./compile-qt-modules.sh --clean-output --clean-modules-repo