build: reduce the configuring count on dibs build
authorSooyoung Ha <yoosah.ha@samsung.com>
Wed, 19 Aug 2015 08:24:44 +0000 (17:24 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Thu, 20 Aug 2015 05:21:50 +0000 (14:21 +0900)
When we build qemu on dibs, we used to run emulator_configure.sh script
twice on clean phase and on build phase. But the configure spends too
much time, especially on windows, so I remove the configuring on build
phase and do 'make clean' instead of 'make distclean' on clean phase.

Change-Id: If8ba8cdf8debf632b7899105cd6a54b65a3345fe
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
package/build.macos-64
package/build.ubuntu-32
package/build.ubuntu-64
package/build.windows-32

index 77d98fa4fad57f74a05312179060361bfe05f92b..fd0e842e89dec9a9a625e3900dc0514ea50d8507 100755 (executable)
@@ -8,7 +8,7 @@ clean()
     if test -e "Makefile"
     then
         ./emulator_configure.sh x86 -e "$BUILD_CFLAGS $BUILD_LDFLAGS"
-        make distclean
+        make clean
     fi
     rm -rf $SRCDIR/*.zip
     rm -rf $SRCDIR/*.tar.gz
@@ -81,7 +81,6 @@ build()
 
     cd $SRCDIR/tizen/
 
-    ./emulator_configure.sh x86 -e "$BUILD_CFLAGS $BUILD_LDFLAGS"
     make all_dibs -j4
     if [ $? -eq 0 ]
     then
index a41aed96d89481973f2fdb24a5c6d6bfe90abe83..9fa0b2acdffff87238ca55de05e25c8ac29a8d1e 100755 (executable)
@@ -10,7 +10,7 @@ clean()
        if test -e "Makefile"
        then
                ./emulator_configure.sh x86
-               make distclean
+               make clean
        fi
        rm -rf $SRCDIR/*.zip
        rm -rf $SRCDIR/*.tar.gz
@@ -52,7 +52,6 @@ build()
        export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ROOTDIR}/remote/lib
 
        cd $SRCDIR/tizen/
-       ./emulator_configure.sh x86
        make all_dibs -j4
        if [ $? -eq 0 ]
        then
index 241c1e24d39aecf0fbedbf0fb2fda2c240ee7710..a0efc2eaa7295a4cac4e5978c0e4a3cf42cecfbf 100755 (executable)
@@ -10,7 +10,7 @@ clean()
        if test -e "Makefile"
        then
                ./emulator_configure.sh x86
-               make distclean
+               make clean
        fi
        rm -rf $SRCDIR/*.zip
        rm -rf $SRCDIR/*.tar.gz
@@ -52,7 +52,6 @@ build()
        export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ROOTDIR}/remote/lib
 
        cd $SRCDIR/tizen/
-       ./emulator_configure.sh x86
        make all_dibs -j4
        if [ $? -eq 0 ]
        then
index 6621ef7bc6d0cf147af097a27220ed0301f5a976..d0ed46146d76778d413196dda27aa2549d45d52c 100755 (executable)
@@ -8,7 +8,7 @@ clean()
        if test -e "Makefile"
        then
                ./emulator_configure.sh x86 -e "$BUILD_CFLAGS $BUILD_LDFLAGS"
-               make distclean
+               make clean
        fi
        rm -rf $SRCDIR/*.zip
        rm -rf $SRCDIR/*.tar.gz
@@ -57,7 +57,6 @@ build()
        prepare
 
        cd $SRCDIR/tizen
-       ./emulator_configure.sh x86 -e "$BUILD_CFLAGS $BUILD_LDFLAGS"
        make all_dibs -j4
        if [ $? -eq 0 ]
        then