mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-04-01 14:54:48 -05:00
add DEVKITPRO to environment, flags for building & installing libogc
This commit is contained in:
parent
08bae817a8
commit
e88a772ba1
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
export DEVKITPPC=$TOOLPATH/devkitPPC
|
||||
export DEVKITPRO=$TOOLPATH
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Install and build the gamecube crt and libogc
|
||||
|
|
@ -13,11 +14,20 @@ cp `pwd`/dkppc/crtls/*.ld $DEVKITPPC/$target/lib/
|
|||
#---------------------------------------------------------------------------------
|
||||
cp `pwd`/dkppc/rules/gamecube_rules dkppc/rules/base_rules $DEVKITPPC
|
||||
|
||||
echo "building libogc ..."
|
||||
cd $LIBOGC_SRCDIR
|
||||
$MAKE
|
||||
if [ ! -f built-libogc ]
|
||||
then
|
||||
echo "building libogc ..."
|
||||
$MAKE
|
||||
touch built-libogc
|
||||
fi
|
||||
|
||||
echo "installing libogc ..."
|
||||
$MAKE install
|
||||
|
||||
if [ ! -f installed-libogc ]
|
||||
then
|
||||
echo "building libogc ..."
|
||||
$MAKE install
|
||||
touch installed-libogc
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user