You've already forked perfect_dark
mirror of
https://github.com/izzy2lost/perfect_dark.git
synced 2026-03-10 12:40:22 -07:00
14 lines
281 B
Bash
Executable File
14 lines
281 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
INFILE="$1"
|
|
OUTFILE="$2"
|
|
ALIGN="${3:-0x10}"
|
|
|
|
echo -e "\n.data\n.incbin \"$INFILE\"\n.balign $ALIGN" > build/$ROMID/file-$$.s
|
|
|
|
$TOOLCHAIN-as -mabi=32 -mips2 -I src/include -EB --no-pad-sections -o "$OUTFILE" build/$ROMID/file-$$.s
|
|
|
|
rm -f build/$ROMID/file-$$.s
|