updated psp patches

This commit is contained in:
Dave Murphy 2005-08-24 04:55:13 +00:00
parent 4600686647
commit 6b5ebcb45f
4 changed files with 5032 additions and 4639 deletions

View File

@ -102,7 +102,7 @@ do
DOWNLOAD=0 DOWNLOAD=0
else else
if test "`wget -V`" ; then if test "`wget -V`" ; then
WGET="wget" WGET=wget
else else
echo "ERROR: Please make sure you have 'wget' installed." echo "ERROR: Please make sure you have 'wget' installed."
exit exit
@ -164,7 +164,7 @@ then
else else
FOUND=1 FOUND=1
fi fi
if [ $VERSION -eq 1 ] if [ $VERSION -eq 1 ]
then then
if [ ! -f $SRCDIR/$LIBGBA ] if [ ! -f $SRCDIR/$LIBGBA ]
@ -209,14 +209,14 @@ else
if [ $VERSION -eq 2 ] if [ $VERSION -eq 2 ]
then then
wget -c $LIBOGC_URL || { echo "Error: Failed to download "$LIBOGC; exit; } $WGET -c $LIBOGC_URL || { echo "Error: Failed to download "$LIBOGC; exit; }
fi fi
if [ $VERSION -eq 1 ] if [ $VERSION -eq 1 ]
then then
wget -c $LIBNDS_URL || { echo "Error: Failed to download "$LIBNDS; exit; } $WGET -c $LIBNDS_URL || { echo "Error: Failed to download "$LIBNDS; exit; }
wget -c $LIBGBA_URL || { echo "Error: Failed to download "$LIBGBA; exit; } $WGET -c $LIBGBA_URL || { echo "Error: Failed to download "$LIBGBA; exit; }
fi fi
SRCDIR=`pwd` SRCDIR=`pwd`
fi fi
@ -317,13 +317,11 @@ patch -p1 -d $NEWLIB_SRCDIR -i $patchdir/newlib-$NEWLIB_VER.patch || { echo "Err
# #
#else #else
export CFLAGS='-O2 -pipe'
export LDFLAGS='-s' export LDFLAGS='-s'
export DEBUG_FLAGS=''
#fi #fi
export CXXFLAGS='-O2 -pipe'
export DEBUG_FLAGS=''
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
# Build and install devkit components # Build and install devkit components

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,7 @@ cd $target/binutils
--prefix=$prefix --target=$target --disable-nls --disable-shared --disable-debug \ --prefix=$prefix --target=$target --disable-nls --disable-shared --disable-debug \
--disable-threads --with-gcc --with-gnu-as --with-gnu-ld --with-stabs \ --disable-threads --with-gcc --with-gnu-as --with-gnu-ld --with-stabs \
|| { echo "Error configuring binutils"; exit 1; } || { echo "Error configuring binutils"; exit 1; }
$MAKE || { echo "Error building binutils"; exit 1; } $MAKE || { echo "Error building binutils"; exit 1; }
$MAKE install || { echo "Error installing binutils"; exit 1; } $MAKE install || { echo "Error installing binutils"; exit 1; }
@ -35,13 +35,12 @@ cd $target/gcc
../../$GCC_SRCDIR/configure \ ../../$GCC_SRCDIR/configure \
--enable-languages=c,c++ \ --enable-languages=c,c++ \
--enable-interwork --disable-multilib\ --disable-multilib\
--with-gcc --with-gnu-ld --with-gnu-as --with-stabs \ --with-gcc --with-gnu-ld --with-gnu-as\
--disable-shared --disable-win32-registry --disable-nls\ --disable-shared --disable-win32-registry --disable-nls\
--enable-cxx-flags="-G0" \ --enable-cxx-flags="-G0" \
--target=$target \ --target=$target \
--with-newlib \ --with-newlib \
--without-headers \
--prefix=$prefix \ --prefix=$prefix \
|| { echo "Error configuring gcc"; exit 1; } || { echo "Error configuring gcc"; exit 1; }