forked from Ports/perfect_dark
Restructure build workflow
* All segments are now extracted from the base ROM; the base ROM is no longer a compile time dependency * ROM segments are now positioned relatively to each rather than with hard coded addresses * Piracy checksums are calculated during build
This commit is contained in:
1 parent
4fd334f73a
commit
23b6bd2643
34 files changed
+3239
-2725
No files matched your search
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
echo -e "\n.data\n.incbin \"$1\"\n.balign 0x10" > build/$ROMID/file.s
|
||||
|
||||
$TOOLCHAIN-as -mabi=32 -mips2 -I src/include -EB -o "$2" build/$ROMID/file.s
|
||||
|
||||
rm -f build/$ROMID/file.s
|
||||
|
||||
Reference in new issue
Block a user