From ff9caec2210acffe97c95f937e2ae4f077c02bfc Mon Sep 17 00:00:00 2001 From: Sooyoung Ha Date: Thu, 20 Aug 2015 15:00:16 +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: I9cc9ea9d3f0dd06ec0084debd06af39f109c1d82 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 34f49ffe59..a42d37706c 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_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 diff --git a/package/build.ubuntu-32 b/package/build.ubuntu-32 index ab3d0594ab..2bb30808a5 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_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 diff --git a/package/build.ubuntu-64 b/package/build.ubuntu-64 index ab3d0594ab..2bb30808a5 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_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 diff --git a/package/build.windows-32 b/package/build.windows-32 index 482e73b7e4..d70b548416 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_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 -- 2.34.1