Files
tp/diff_settings.py
T
Jasper St. Pierre 462d71cbef Makefile fixes / JUTNameTab (#129)
* Makefile: Fix issues with iconv causing it to break under devkitPro / msys

The version of iconv included in devkitPro does not have a -o option,
so replace it with normal shell redirection. Also, SHIFT-JIS does not
have a mapping for ~, so output the Windows CP932 variant instead,
which does. See:
https://en.wikipedia.org/wiki/Tilde#Unicode_and_Shift_JIS_encoding_of_wave_dash
https://en.wikipedia.org/wiki/Code_page_932_(Microsoft_Windows)#Single-byte_character_differences

* Update diff configuration

-Bbinary doesn't seem to work with my copy of
bjdump (it says it can't decode unknown architecture)

Cheese things by using expected/ instead of having
the user place things manually.

* JUTNameTab

* J3DPacket / J3DDrawBuffer

* format

Co-authored-by: lepelog <lepelog@users.noreply.github.com>
2021-05-10 11:54:07 -04:00

19 lines
712 B
Python

#!/usr/bin/env python3
import os
def apply(config, args):
config['mapfile'] = 'build/dolzel2/dolzel2.map'
config['expected_mapfile'] = 'expected/build/dolzel2/dolzel2.map'
config['map_format'] = 'mw'
config['build_dir'] = "build/" # only needed for mw map format
config['expected_build_dir'] = 'expected/build/'
config['myimg'] = 'build/dolzel2/main.elf'
config['baseimg'] = 'expected/build/dolzel2/main.elf'
config['makeflags'] = []
if args.source:
config['makeflags'].append('DEBUG=1')
config['source_directories'] = ['src', 'libs', 'include']
config['arch'] = 'ppc'
config['objdump_executable'] = f"{os.environ['DEVKITPPC']}/bin/powerpc-eabi-objdump"