fixup! Factor out common bits of build_mobile and build_tv scripts
[platform/framework/web/chromium-efl.git] / tizen_src / build / build_tv.sh
1 #!/bin/bash
2
3 . `dirname $0`/common.sh
4
5 PROFILE_NAME=$(echo "$@" | grep -Po "(?<=\-P\s)[^\s]*" || :)
6
7 EXTRA_PACK_OPTS="--extra-packs python-base-x86-arm,python-x86-arm,python-xml-x86-arm"
8 if [ "$PROFILE_NAME" == "tztv_v3.0" ]; then
9    EXTRA_PACK_OPTS=""
10 fi
11
12 setupAndExecuteTargetBuild tv "$@" $EXTRA_PACK_OPTS