buildscripts/dkppc/scripts/build-crtls.sh
Dave Murphy eff8e0ff4d added gamecube tools
errors fixed in clean targets
mn10200 binutils added to devkitPPC
devkitARM scripts updated with error checking
2005-08-25 06:41:51 +00:00

27 lines
843 B
Bash

#!/bin/sh
DEVKITPPC=$TOOLPATH/devkitPPC
#---------------------------------------------------------------------------------
# Install and build the gamecube crt and libogc
#---------------------------------------------------------------------------------
echo "installing specs ..."
powerpc-gekko-gcc -dumpspecs $DEVKITPPC/lib/gcc/$target/$GCC_VER/specs
cp `pwd`/dkppc/crtls/gcn* $DEVKITPPC/$target/lib/
cp `pwd`/dkppc/crtls/specs $DEVKITPPC/lib/gcc/$target/$GCC_VER/specs
echo "building libogc ..."
cd $LIBOGC_SRCDIR
$MAKE
echo "installing libogc ..."
$MAKE install
#---------------------------------------------------------------------------------
# copy base rulesets
#---------------------------------------------------------------------------------
cd $BUILDSCRIPTDIR
cp dkppc/rules/gamecube_rules dkppc/rules/base_rules $DEVKITPPC