common.sh: Use amd64-usr as the default default board

We only support amd64-usr at this point, so this removes a required
step when setting up a new SDK.  If the default board is specified
normally or through the environment, it will override this value.
This commit is contained in:
David Michael 2018-10-25 14:11:42 +00:00
parent 8f761a7fdb
commit 8e8d07f9a0

View File

@ -383,6 +383,8 @@ if [[ -f ${GCLIENT_ROOT}/src/scripts/.default_board ]]; then
die ".default_board: invalid name detected; please fix:" \
"'${DEFAULT_BOARD}'"
fi
elif [ -z "${DEFAULT_BOARD-}" ]; then
DEFAULT_BOARD=amd64-usr
fi
# Directory to store built images. Should be set by sourcing script when used.