[Tizen][dev] Fix TV build
[platform/framework/web/chromium-efl.git] / tizen_src / build / build_mobile.sh
1 #!/bin/bash
2
3 SCRIPTDIR=$(cd $(dirname $0); pwd -P)
4
5 # source common functions and vars
6 . `dirname ${BASH_SOURCE[0]}`/common.sh
7
8 ${SCRIPTDIR}/apply_patches.sh
9
10 TIZEN_VERSION="chromium_efl_tizen_version 2.3"
11
12 if [ ! -f "$HOME/.gbs.conf" ]; then
13     CONF_FLAG="--conf ${SCRIPTDIR}/gbs.conf"
14     PROFILE_FLAG="-P tizenmb_v2.3"
15 fi
16
17 gbs $CONF_FLAG build $PROFILE_FLAG -A armv7l --incremental \
18     --define "${TIZEN_VERSION}" "$@"
19
20 ${SCRIPTDIR}/apply_patches.sh -r