mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-04-16 23:06:08 -05:00
errors fixed in clean targets mn10200 binutils added to devkitPPC devkitARM scripts updated with error checking
27 lines
843 B
Bash
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
|
|
|
|
|