Moved extract_rom into tools

This commit is contained in:
rozlette 2019-09-23 01:46:58 -05:00
parent b88d1d0bf6
commit 9fe4f51f97
4 changed files with 1631 additions and 1632 deletions

View File

@ -32,7 +32,7 @@ test.txt: CFLAGS := $(CFLAGS) -Wab,-r4300_mul
CC := $(QEMU_IRIX) -L $(IRIX_71_ROOT) $(IRIX_71_ROOT)/usr/bin/cc
test.txt: CC := python3 preprocess.py $(CC) -- $(AS) $(ASFLAGS) --
test.txt: CC := python3 ./tools/preprocess.py $(CC) -- $(AS) $(ASFLAGS) --
build/src/boot_O2_g3/%: CC := python3 ./tools/preprocess.py $(CC) -- $(AS) $(ASFLAGS) --
build/src/code/%: CC := python3 ./tools/preprocess.py $(CC) -- $(AS) $(ASFLAGS) --

File diff suppressed because it is too large Load Diff

View File

@ -6,8 +6,8 @@ import subprocess
import tempfile
dir_path = os.path.dirname(os.path.realpath(__file__))
asm_processor = ['python3', os.path.join(dir_path, "tools/asm-processor/asm-processor.py")]
prelude = os.path.join(dir_path, "include/prelude.inc")
asm_processor = ['python3', os.path.join(dir_path, "asm-processor/asm-processor.py")]
prelude = os.path.join(dir_path, "prelude.inc")
all_args = sys.argv[1:]
sep1 = all_args.index('--')