mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -04:00
43ac7130b9
Co-authored-by: Pheenoh <pheenoh@gmail.com>
15 lines
506 B
Python
15 lines
506 B
Python
#!/usr/bin/env python3
|
|
|
|
import os
|
|
|
|
def apply(config, args):
|
|
config['mapfile'] = 'build/dolzel2/dolzel2.map'
|
|
config['map_format'] = 'mw'
|
|
config["mw_build_dir"] = "build/" # only needed for mw map format
|
|
config['myimg'] = 'build/dolzel2/main.elf'
|
|
config['baseimg'] = 'baserom.elf'
|
|
config['makeflags'] = []
|
|
config['source_directories'] = ['src', 'libs', 'include']
|
|
config['arch'] = 'ppc'
|
|
config['objdump_executable'] = f"{os.environ['DEVKITPPC']}/bin/powerpc-eabi-objdump"
|