mirror of
https://github.com/FireEmblemUniverse/fireemblem8u.git
synced 2024-11-27 23:20:27 +00:00
Enhancement: replace gcc with as when compiling banim
This commit is contained in:
parent
0cbe22c62c
commit
b7f651c95c
@ -7,7 +7,7 @@ cd banim
|
||||
ls | grep '_motion.s' | while read f_motion
|
||||
do
|
||||
f_base=${f_motion%motion.s}
|
||||
arm-none-eabi-gcc $f_motion -c
|
||||
arm-none-eabi-as $f_motion -o $f_base'motion.o'
|
||||
arm-none-eabi-objcopy -O binary --dump-section .data.modes=$f_base"modes.bin" --dump-section .data.script=$f_base"script.bin" --dump-section .data.oam_r=$f_base"oam_r.bin" --dump-section .data.oam_l=$f_base"oam_l.bin" $f_base"motion.o" $f_base"motion.bin"
|
||||
../tools/gbagfx/gbagfx $f_base"script.bin" $f_base"script.bin.lz"
|
||||
../tools/gbagfx/gbagfx $f_base"oam_r.bin" $f_base"oam_r.bin.lz"
|
||||
|
Loading…
Reference in New Issue
Block a user