buildall.sh 634 Bytes
Newer Older
1 2 3 4
#!/bin/bash

SCRIPT=$(readlink -f "$0")
PROJECTPATH=$(dirname "$SCRIPT")
5
. ${PROJECTPATH}/buildcommon
6

7
${PROJECTPATH}/buildvlc.sh $*
8 9
checkfail "buildvlc.sh failed"

10
${PROJECTPATH}/buildemotion.sh $*
11 12
checkfail "buildemotion.sh failed"

13 14 15
${PROJECTPATH}/buildmedialibrary.sh $*
checkfail "buildmedialibrary.sh failed"

16
if [ "$RELEASE" = 1 -o "$STRIP" = 1 ]; then
17 18 19 20 21
	echo -e "\e[1m\e[32mStripping\e[0m"
    ${CROSS_COMPILE}strip -v ${PROJECTPATH}/lib/*
    checkfail "stripping"
fi

22 23
cp ${PROJECTPATH}/.cproject-${TIZEN_ABI} ${PROJECTPATH}/.cproject

24 25
hacks/version.sh

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