mirror of
https://github.com/encounter/oot-vc.git
synced 2026-03-30 11:33:51 -07:00
14 lines
649 B
Python
Executable File
14 lines
649 B
Python
Executable File
def add_custom_arguments(parser):
|
|
parser.add_argument("-v", "--version", help="Emulator version to diff", default="oot-j")
|
|
|
|
def apply(config, args):
|
|
version = args.version
|
|
config["make_command"] = ["ninja"]
|
|
config["mapfile"] = f"build/{version}/oot-vc.elf.MAP"
|
|
config["source_directories"] = ["src", "include", "libc", f"build/{version}/include"]
|
|
config["arch"] = "ppc"
|
|
config["map_format"] = "mw" # gnu, mw, ms
|
|
config["build_dir"] = f"build/{version}/src" # only needed for mw and ms map formats
|
|
config["objdump_executable"] = "build/binutils/powerpc-eabi-objdump"
|
|
config["show_line_numbers_default"] = True
|