buildscripts/dkp-scripts/build-crtls.sh
Dave Murphy c8f73f5a68 updated build process for newlib 1.13.0
adjusted install for rules & install targets in makefiles
2005-05-04 14:11:38 +00:00

27 lines
772 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
#---------------------------------------------------------------------------------
# copy base rulesets
#---------------------------------------------------------------------------------
cd $BUILDSCRIPTDIR
cp dkp-rules/* $DEVKITPPC