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>
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
cd $SRCDIR/tizen/
- ./emulator_configure.sh x86 -e "$BUILD_CFLAGS $BUILD_LDFLAGS"
make all_dibs -j4
if [ $? -eq 0 ]
then
if test -e "Makefile"
then
./emulator_configure.sh x86
- make distclean
+ make clean
fi
rm -rf $SRCDIR/*.zip
rm -rf $SRCDIR/*.tar.gz
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
if test -e "Makefile"
then
./emulator_configure.sh x86
- make distclean
+ make clean
fi
rm -rf $SRCDIR/*.zip
rm -rf $SRCDIR/*.tar.gz
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
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
prepare
cd $SRCDIR/tizen
- ./emulator_configure.sh x86 -e "$BUILD_CFLAGS $BUILD_LDFLAGS"
make all_dibs -j4
if [ $? -eq 0 ]
then