build: add arm build
authormunkyu.im <munkyu.im@samsung.com>
Thu, 13 Dec 2012 06:39:27 +0000 (15:39 +0900)
committermunkyu.im <munkyu.im@samsung.com>
Thu, 13 Dec 2012 06:39:27 +0000 (15:39 +0900)
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
package/build.ubuntu-32
package/build.ubuntu-64
package/build.windows-32

index 4e935ce..2093d3f 100755 (executable)
@@ -34,9 +34,20 @@ build()
        make all_dibs
        if [ $? -eq 0 ]
        then
-               echo "build success"
+               echo "x86 build success"
        else
-               echo "build failure"
+               echo "x86 build failure"
+               exit 1
+       fi
+
+       ./emulator_configure.sh arm
+       make all_dibs
+
+       if [ $? -eq 0 ]
+       then
+               echo "arm build success"
+       else
+               echo "arm build failure"
                exit 1
        fi
 }
index 9b6cc1b..2093d3f 100755 (executable)
@@ -4,7 +4,7 @@ clean()
 {
        prepare
 
-       cd $SRCDIR/tizen/
+       cd $SRCDIR/tizen
        if test -e "Makefile"
        then
                ./emulator_configure.sh x86
@@ -34,9 +34,20 @@ build()
        make all_dibs
        if [ $? -eq 0 ]
        then
-               echo "build success"
+               echo "x86 build success"
+       else
+               echo "x86 build failure"
+               exit 1
+       fi
+
+       ./emulator_configure.sh arm
+       make all_dibs
+
+       if [ $? -eq 0 ]
+       then
+               echo "arm build success"
        else
-               echo "build failure"
+               echo "arm build failure"
                exit 1
        fi
 }
index 4489b21..7fd1eee 100755 (executable)
@@ -49,15 +49,26 @@ build()
        prepare
 
        cd $SRCDIR/tizen
-       ./emulator_configure.sh -e "$BUILD_CFLAGS $BUILD_LDFLAGS"
+       ./emulator_configure.sh x86 -e "$BUILD_CFLAGS $BUILD_LDFLAGS"
        make all_dibs
        if [ $? -eq 0 ]
        then
-               echo "build success"
+               echo "x86 build success"
        else
-               echo "build failure"
+               echo "x86 build failure"
                exit 1
        fi
+
+       ./emulator_configure.sh arm -e "$BUILD_CFLAGS $BUILD_LDFLAGS"
+       make all_dibs
+       if [ $? -eq 0 ]
+       then
+               echo "arm build success"
+       else
+               echo "arm build failure"
+               exit 1
+       fi
+
 }
 
 # install