move psp sdk building to build-gcc script

This commit is contained in:
Dave Murphy 2007-12-11 08:57:13 +00:00
parent d5ab855f41
commit 7c4e904fe5
2 changed files with 21 additions and 1 deletions

View File

@ -468,7 +468,9 @@ then
rm -fr $GCC_SRCDIR
rm -fr $LIBOGC_SRCDIR $LIBGBA_SRCDIR $LIBNDS_SRCDIR $LIBMIRKO_SRCDIR $DSWIFI_SRCDIR $LIBFAT_SRCDIR $GDB_SRCDIR
rm extracted_archives patched_sources
rm -fr mn10200
rm -fr pspsdk
rm -fr extracted_archives patched_sources checkout-psp-sdk
fi

View File

@ -146,7 +146,25 @@ fi
cd $BUILDSCRIPTDIR
#---------------------------------------------------------------------------------
# build and install the psp sdk
#---------------------------------------------------------------------------------
echo "building pspsdk ..."
cd pspsdk
if [ ! -f built-sdk ]
then
$MAKE || { echo "ERROR BUILDING PSPSDK"; exit 1; }
touch built-sdk
fi
if [ ! -f installed-sdk ]
then
$MAKE install || { echo "ERROR INSTALLING PSPSDK"; exit 1; }
touch built-sdk
fi
cd $BUILDSCRIPTDIR
#---------------------------------------------------------------------------------
# build and install the debugger