rework scripts to download missing archives & use autoconfiscated tools sources

This commit is contained in:
Dave Murphy
2012-03-31 18:42:13 +01:00
parent a88a5912fe
commit ea304bc7bf
8 changed files with 211 additions and 635 deletions

View File

@@ -8,39 +8,8 @@ export DEVKITPRO=$TOOLPATH
#---------------------------------------------------------------------------------
echo "installing linkscripts ..."
cp `pwd`/dkppc/crtls/*.ld $DEVKITPPC/$target/lib/
cp $BUILDSCRIPTDIR/dkppc/crtls/*.ld $DEVKITPPC/$target/lib/
#---------------------------------------------------------------------------------
# copy base rulesets
#---------------------------------------------------------------------------------
cp `pwd`/dkppc/rules/* $DEVKITPPC
cd $LIBOGC_SRCDIR
if [ ! -f built-libogc ]
then
echo "building libogc ..."
$MAKE
touch built-libogc
fi
if [ ! -f installed-libogc ]
then
echo "installing libogc ..."
$MAKE install
touch installed-libogc
fi
cd $BUILDSCRIPTDIR
cd $LIBFAT_SRCDIR
if [ ! -f built-libfat ]
then
echo "building libfat ..."
$MAKE ogc-install INSTALLDIR=$TOOLPATH
touch built-libfat
fi
cd $BUILDSCRIPTDIR
cp $BUILDSCRIPTDIR/dkppc/rules/* $DEVKITPPC