mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-04-23 02:47:25 -05:00
29 lines
874 B
Bash
Executable File
29 lines
874 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#---------------------------------------------------------------------------------
|
|
# set env variables
|
|
#---------------------------------------------------------------------------------
|
|
export DEVKITPRO=$TOOLPATH
|
|
export DEVKITARM=$DEVKITPRO/devkitARM
|
|
|
|
#---------------------------------------------------------------------------------
|
|
# Install the rules files
|
|
#---------------------------------------------------------------------------------
|
|
cd $BUILDDIR
|
|
|
|
mkdir -p rules
|
|
cd rules
|
|
tar -xvf $SRCDIR/devkitarm-rules-$DKARM_RULES_VER.tar.xz
|
|
make install
|
|
|
|
#---------------------------------------------------------------------------------
|
|
# Install and build the crt0 files
|
|
#---------------------------------------------------------------------------------
|
|
cd $BUILDDIR
|
|
|
|
mkdir -p crtls
|
|
cd crtls
|
|
tar -xvf $SRCDIR/devkitarm-crtls-$DKARM_CRTLS_VER.tar.xz
|
|
make install
|
|
|