diff options
Diffstat (limited to 'make_test.sh')
-rwxr-xr-x | make_test.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/make_test.sh b/make_test.sh new file mode 100755 index 0000000..e92a652 --- /dev/null +++ b/make_test.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env sh + +echo Making object file... +arm-none-eabi-as -otest.o test.s + +echo Making binary... +arm-none-eabi-ld -Ttest.ld -otest.elf test.o + +echo Stripping binary... +arm-none-eabi-strip --strip-debug --strip-unneeded test.elf +arm-none-eabi-objcopy -Obinary test.elf test.agb + +echo Patching header... +agbsum -psitest.agb |