build: reduce the configuring count on dibs build
authorSooyoung Ha <yoosah.ha@samsung.com>
Thu, 20 Aug 2015 06:00:16 +0000 (15:00 +0900)
committerSooyoung Ha <yoosah.ha@samsung.com>
Thu, 20 Aug 2015 06:00:16 +0000 (15:00 +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: I9cc9ea9d3f0dd06ec0084debd06af39f109c1d82
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 34f49ffe594d6f07975c36bb361ba2d945e1d774..a42d37706cbf0ca56c04ecbd5285a897d46619be 100755 (executable)
@@ -8,7 +8,7 @@ clean()
        if test -e "Makefile"
        then
                ./emulator_configure.sh x86_64 -e "$BUILD_CFLAGS $BUILD_LDFLAGS"
-               make distclean
+               make clean
        fi
        rm -rf $SRCDIR/*.zip
        rm -rf $SRCDIR/*.tar.gz
@@ -70,7 +70,6 @@ build()
 
        cd $SRCDIR/tizen/
 
-       ./emulator_configure.sh x86_64 -e "$BUILD_CFLAGS $BUILD_LDFLAGS"
        make all_dibs -j4
        if [ $? -eq 0 ]
        then
index ab3d0594ab571e6aeed0eb12c382d56fa2a25f0a..2bb30808a5c180d58fd95fbec90675ccebc2e501 100755 (executable)
@@ -10,7 +10,7 @@ clean()
        if test -e "Makefile"
        then
                ./emulator_configure.sh x86_64
-               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_64
        make all_dibs -j4
        if [ $? -eq 0 ]
        then
index ab3d0594ab571e6aeed0eb12c382d56fa2a25f0a..2bb30808a5c180d58fd95fbec90675ccebc2e501 100755 (executable)
@@ -10,7 +10,7 @@ clean()
        if test -e "Makefile"
        then
                ./emulator_configure.sh x86_64
-               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_64
        make all_dibs -j4
        if [ $? -eq 0 ]
        then
index 482e73b7e42f01c7debfce2aa9da65f06eae3346..d70b54841626bc7fb756a5f18001cdec7d3333e4 100755 (executable)
@@ -8,7 +8,7 @@ clean()
        if test -e "Makefile"
        then
                ./emulator_configure.sh x86_64 -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_64 -e "$BUILD_CFLAGS $BUILD_LDFLAGS"
        make all_dibs -j4
        if [ $? -eq 0 ]
        then