3 # source common functions and vars
4 . `dirname $0`/common.sh
5 trap '${SCRIPTDIR}/apply_patches.sh -r ${SCRIPTDIR}/patches;\
6 error_report $0 $LINENO' ERR SIGINT SIGTERM SIGQUIT
8 ${SCRIPTDIR}/apply_patches.sh ${SCRIPTDIR}/patches
10 # "|| :" means "or always succeeding built-in command"
11 PROFILE_NAME=$(echo "$@" | grep -Po "(?<=\-P\s)[^\s]*" || :)
13 if [ "$PROFILE_NAME" == "" ]; then
14 PROFILE_NAME=tztv_v2.2.1_prehawk
15 PROFILE_FLAG="-P $PROFILE_NAME"
18 TIZEN_VERSION="chromium_efl_tizen_version 2.2.1"
20 if [ "$USE_GLOBAL_GBS_CONF" == "" ]; then
21 CONF_FLAG="--conf ${SCRIPTDIR}/gbs.conf"
24 gbs $CONF_FLAG build $PROFILE_FLAG -A armv7l --incremental \
25 --extra-packs python-base-x86-arm,python-x86-arm,python-xml-x86-arm \
26 --define "${TIZEN_VERSION}" "$@"
28 ${SCRIPTDIR}/apply_patches.sh -r ${SCRIPTDIR}/patches