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
else
if test "`wget -V`" ; then
WGET="wget"
WGET=wget
else
echo "ERROR: Please make sure you have 'wget' installed."
exit
@ -164,7 +164,7 @@ then
else
FOUND=1
fi
if [ $VERSION -eq 1 ]
then
if [ ! -f $SRCDIR/$LIBGBA ]
@ -209,14 +209,14 @@ else
if [ $VERSION -eq 2 ]
then
wget -c $LIBOGC_URL || { echo "Error: Failed to download "$LIBOGC; exit; }
$WGET -c $LIBOGC_URL || { echo "Error: Failed to download "$LIBOGC; exit; }
fi
if [ $VERSION -eq 1 ]
then
wget -c $LIBNDS_URL || { echo "Error: Failed to download "$LIBNDS; exit; }
wget -c $LIBGBA_URL || { echo "Error: Failed to download "$LIBGBA; exit; }
$WGET -c $LIBNDS_URL || { echo "Error: Failed to download "$LIBNDS; exit; }
$WGET -c $LIBGBA_URL || { echo "Error: Failed to download "$LIBGBA; exit; }
fi
SRCDIR=`pwd`
fi
@ -317,13 +317,11 @@ patch -p1 -d $NEWLIB_SRCDIR -i $patchdir/newlib-$NEWLIB_VER.patch || { echo "Err
#
#else
export CFLAGS='-O2 -pipe'
export LDFLAGS='-s'
export DEBUG_FLAGS=''
#fi
export CXXFLAGS='-O2 -pipe'
export DEBUG_FLAGS=''
#---------------------------------------------------------------------------------
# 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 \
--disable-threads --with-gcc --with-gnu-as --with-gnu-ld --with-stabs \
|| { echo "Error configuring binutils"; exit 1; }
$MAKE || { echo "Error building binutils"; exit 1; }
$MAKE install || { echo "Error installing binutils"; exit 1; }
@ -35,13 +35,12 @@ cd $target/gcc
../../$GCC_SRCDIR/configure \
--enable-languages=c,c++ \
--enable-interwork --disable-multilib\
--with-gcc --with-gnu-ld --with-gnu-as --with-stabs \
--disable-multilib\
--with-gcc --with-gnu-ld --with-gnu-as\
--disable-shared --disable-win32-registry --disable-nls\
--enable-cxx-flags="-G0" \
--target=$target \
--with-newlib \
--without-headers \
--prefix=$prefix \
|| { echo "Error configuring gcc"; exit 1; }