diff options
| author | Erin Moon <erin@hecke.rs> | 2020-12-13 14:52:46 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-13 15:52:46 -0500 |
| commit | 43ac7130b96b9967930582c87f8fafa34cd43369 (patch) | |
| tree | bf205fd090ebc387ea606051be5ed153cd2de920 /diff_settings.py | |
| parent | e4ad32409b0361132da962f83058522667540f64 (diff) | |
diff_settings.py: update for new ppc-enabled diff.py (#31)
Co-authored-by: Pheenoh <pheenoh@gmail.com>
Diffstat (limited to 'diff_settings.py')
| -rw-r--r-- | diff_settings.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/diff_settings.py b/diff_settings.py new file mode 100644 index 0000000000..c24423875f --- /dev/null +++ b/diff_settings.py @@ -0,0 +1,14 @@ +#!/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" |
