-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0bb8094
commit d55e142
Showing
15 changed files
with
172 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"C_Cpp.default.includePath": [ | ||
"include" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# Example environment setup for building devtools and dslibris. | ||
export DEVKITPRO=/usr/local/devkitpro/r35 | ||
export DEVKITPRO=$HOME/Library/devkitpro/r45 | ||
export DEVKITARM=$DEVKITPRO/devkitARM | ||
# Needed to point library build processes (in 'tool') | ||
# to the right gcc architecture... | ||
export PATH=$DEVKITARM/bin:$PATH | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Replace corresponding files in your buildscripts repo with these. | ||
Replace corresponding files in your devkitPro | ||
buildscripts repo with these. | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
cd $BUILDDIR | ||
|
||
for archive in $hostarchives | ||
do | ||
echo $archive | ||
dir=$(echo $archive | sed -e 's/\(.*\)\.tar\..*/\1/' ) | ||
echo $dir | ||
cd $BUILDDIR/$dir | ||
if [ ! -f configured ]; then | ||
CXXFLAGS=$cflags CFLAGS=$cflags LDFLAGS=$ldflags ./configure --prefix=$prefix --disable-dependency-tracking $CROSS_PARAMS || { echo "error configuring $archive"; exit 1; } | ||
touch configured | ||
fi | ||
if [ ! -f built ]; then | ||
$MAKE || { echo "error building $dir"; exit 1; } | ||
touch built | ||
fi | ||
if [ ! -f installed ]; then | ||
$MAKE install || { echo "error installing $dir"; exit 1; } | ||
touch installed | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
#!/bin/bash | ||
VERSION=0 | ||
case "$BUILD_DKPRO_PACKAGE" in | ||
"1" ) | ||
VERSION=1 | ||
;; | ||
"2" ) | ||
VERSION=2 | ||
;; | ||
"3" ) | ||
VERSION=3 | ||
;; | ||
"4" ) | ||
VERSION=4 | ||
;; | ||
esac | ||
|
||
while [ $VERSION -eq 0 ] | ||
do | ||
echo | ||
echo "Please select the toolchain you require" | ||
echo | ||
echo "1: devkitARM (gba gp32 ds)" | ||
echo "2: devkitPPC (gamecube wii)" | ||
echo "3: devkitPSP (PSP)" | ||
read VERSION | ||
|
||
if [ "$VERSION" -ne 1 -a "$VERSION" -ne 2 -a "$VERSION" -ne 3 ] | ||
then | ||
VERSION=0 | ||
fi | ||
done | ||
|
||
case "$VERSION" in | ||
"1" ) | ||
GCC_VER=5.3.0 | ||
BINUTILS_VER=2.25.1 | ||
NEWLIB_VER=2.2.0 | ||
GDB_VER=7.10 | ||
basedir='dkarm-eabi' | ||
package=devkitARM | ||
target=arm-none-eabi | ||
toolchain=DEVKITARM | ||
;; | ||
"2" ) | ||
GCC_VER=4.8.2 | ||
BINUTILS_VER=2.24 | ||
NEWLIB_VER=2.0.0 | ||
GDB_VER=7.7 | ||
basedir='dkppc' | ||
package=devkitPPC | ||
target=powerpc-eabi | ||
toolchain=DEVKITPPC | ||
;; | ||
"3" ) | ||
GCC_VER=4.6.3 | ||
BINUTILS_VER=2.22 | ||
NEWLIB_VER=1.20.0 | ||
GDB_VER=7.4 | ||
basedir='dkpsp' | ||
package=devkitPSP | ||
target=psp | ||
toolchain=DEVKITPSP | ||
;; | ||
esac |