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 4e935ce0c6ce30b541c7744a1d383a085ce684b0..2093d3f52c3e41341535564473b97a29aa7b6fcf 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 9b6cc1b90033be0ba58ae105255765c3835b31af..2093d3f52c3e41341535564473b97a29aa7b6fcf 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 4489b218d1876682ec283e70c33c910c5b784ded..7fd1eee1ed222ff97536e82bcd3cc8a3de0bcbc4 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