3 ###### Please specify below ######
5 BUILD_CMD="scons TARGET_OS=android TARGET_ARCH=armeabi TARGET_TRANSPORT=IP,BLE WITH_TCP=1 WITH_CLOUD=1 SECURED=1 LOGGING=1 RELEASE=1 ANDROID_HOME=$ANDROID_HOME"
10 CLONE_CMD="git clone http://suprem.sec.samsung.net/gerrit/IoTivity samsung_iotivity"
11 FETCH_CMD="git fetch -p"
12 CHECKOUT_CMD="git checkout -f "
16 echo "***********************************************************************"
18 echo "* IoTivity Build Start. *"
20 echo "***********************************************************************"
25 echo ---------------------------------------------------------------------
26 echo "Fail to Build, Check Last Step. [$_STEP]"
27 echo ---------------------------------------------------------------------
44 COMMIT_ID=$(awk '/^commit_id:/{print $2}' "$1")
45 echo COMMIT ID is $COMMIT_ID
47 if [ 0 == ${#COMMIT_ID} ];then
54 if [ ! -d resource/csdk ];then
55 if [ ! -d samsung_iotivity ];then
70 echo $CHECKOUT_CMD $COMMIT_ID
71 $CHECKOUT_CMD $COMMIT_ID
89 if [ $ANDROID_HOME ];then
93 echo "Please add ANDROID_HOME in .bashrc file."