mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-04-21 18:07:21 -05:00
20 lines
538 B
Bash
20 lines
538 B
Bash
#!/bin/sh
|
|
|
|
DEVKITPPC=$INSTALLDIR
|
|
|
|
#---------------------------------------------------------------------------------
|
|
# Install and build the gamecube crt and libogc
|
|
#---------------------------------------------------------------------------------
|
|
|
|
echo "installing specs ..."
|
|
cp `pwd`/dkp-crtls/gcn* $DEVKITPPC/$target/lib/
|
|
cp `pwd`/dkp-crtls/ogc.ld $DEVKITPPC/$target/lib/
|
|
cp `pwd`/dkp-crtls/specs $DEVKITPPC/lib/gcc/$target/$GCC_VER/specs
|
|
|
|
echo "building libogc ..."
|
|
cd $LIBOGC_SRCDIR
|
|
$MAKE
|
|
echo "installing libogc ..."
|
|
$MAKE install
|
|
|