buildall.sh 744 Bytes
Newer Older
1 2
#!/bin/bash

3 4 5 6 7

[ "" != "${TIZEN_SDK}" ] || TIZEN_SDK="${HOME}/tizen-sdk"
[ "" != "${TIZEN_ABI}" ] || TIZEN_ABI="armv7l"


8 9
SCRIPT=$(readlink -f "$0")
PROJECTPATH=$(dirname "$SCRIPT")
10
. ${PROJECTPATH}/buildcommon
11

12
${PROJECTPATH}/buildvlc.sh $*
13 14
checkfail "buildvlc.sh failed"

15
${PROJECTPATH}/buildemotion.sh $*
16 17
checkfail "buildemotion.sh failed"

18 19 20
${PROJECTPATH}/buildmedialibrary.sh $*
checkfail "buildmedialibrary.sh failed"

21
if [ "$RELEASE" = 1 -o "$STRIP" = 1 ]; then
22
	echo -e "\e[1m\e[32mStripping\e[0m"
23
    ${CROSS_COMPILE}strip -v ${PROJECTPATH}/lib/*so
24 25 26
    checkfail "stripping"
fi

27 28
cp ${PROJECTPATH}/.cproject-${TIZEN_ABI} ${PROJECTPATH}/.cproject

29 30
hacks/version.sh

31
echo -e "\e[1m\e[32mDone! You can now build the Tizen application.\e[0m"