From 6aaa919f59a00457a9c5ad475fe19b28206aad95 Mon Sep 17 00:00:00 2001 From: Sooyoung Ha Date: Wed, 19 Aug 2015 17:24:44 +0900 Subject: [PATCH] build: reduce the configuring count on dibs build 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 --- package/build.macos-64 | 3 +-- package/build.ubuntu-32 | 3 +-- package/build.ubuntu-64 | 3 +-- package/build.windows-32 | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/package/build.macos-64 b/package/build.macos-64 index 77d98fa4fa..fd0e842e89 100755 --- a/package/build.macos-64 +++ b/package/build.macos-64 @@ -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 diff --git a/package/build.ubuntu-32 b/package/build.ubuntu-32 index a41aed96d8..9fa0b2acdf 100755 --- a/package/build.ubuntu-32 +++ b/package/build.ubuntu-32 @@ -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 diff --git a/package/build.ubuntu-64 b/package/build.ubuntu-64 index 241c1e24d3..a0efc2eaa7 100755 --- a/package/build.ubuntu-64 +++ b/package/build.ubuntu-64 @@ -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 diff --git a/package/build.windows-32 b/package/build.windows-32 index 6621ef7bc6..d0ed46146d 100755 --- a/package/build.windows-32 +++ b/package/build.windows-32 @@ -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 -- 2.34.1