mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
f91fe539a4
* Fix enum name, offset * Fix bugs Some assets were slipping by the asset stack Tex archve building wasn't respecting the asset stack (Fixes #1074) * Fixes #1081 * fix paths kinda * git subrepo pull --force tools/splat subrepo: subdir: "tools/splat" merged: "818924683b" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "818924683b" git-subrepo: version: "0.4.5" origin: "https://github.com/ingydotnet/git-subrepo" commit: "aa416e4" * Fix stuff after splupdate
13 lines
739 B
Bash
Executable File
13 lines
739 B
Bash
Executable File
mkdir -p build
|
|
echo "Building..."
|
|
export PATH=/gcc-2.7.2:$PATH
|
|
COMPILER_PATH=/gcc-2.7.2 /gcc-2.7.2/gcc -v -G0 -mgp32 -mfp32 -mips3 main.c -c -o build/main.o
|
|
COMPILER_PATH=/gcc-2.7.2 /gcc-2.7.2/gcc -G0 -mgp32 -mfp32 -mips3 header.s -c -o build/header.o
|
|
COMPILER_PATH=/gcc-2.7.2 /gcc-2.7.2/gcc -G0 -mgp32 -mfp32 -mips3 handwritten.s -c -o build/handwritten.o
|
|
COMPILER_PATH=/gcc-2.7.2 /gcc-2.7.2/gcc -G0 -mgp32 -mfp32 -mips3 dummy_ipl3.s -c -o build/dummy_ipl3.o
|
|
mips-linux-gnu-strip -N dummy_symbol_name build/*.o
|
|
echo "Linking..."
|
|
mips-linux-gnu-ld -Map build/basic_app.map -T basic_app.ld -o build/basic_app.elf
|
|
echo "Dumping bin..."
|
|
mips-linux-gnu-objcopy build/basic_app.elf -O binary build/basic_app.bin --pad-to=0x1140 --gap-fill=0xFF
|