Add configuration for remaining files

This commit is contained in:
Luke Street
2023-09-15 01:38:40 -04:00
parent 2a2b9c2f4e
commit be7d0bb459
5 changed files with 935 additions and 126 deletions
+4 -4
View File
@@ -141,10 +141,10 @@ m_Do/m_Do_machine_exception.cpp:
.rodata start:0x803396F8 end:0x803398D8
.sbss start:0x803F69B0 end:0x803F69B8
dolphin/os/__start.o:
dolphin/os/__start.c:
.init start:0x80003100 end:0x800033A8
c/c_damagereaction.o:
c/c_damagereaction.cpp:
.text start:0x8001BEDC end:0x800227A0
.ctors start:0x803386A4 end:0x803386A8
.data start:0x80371DD0 end:0x80371FD8
@@ -153,7 +153,7 @@ c/c_damagereaction.o:
.sbss start:0x803F69B8 end:0x803F69C0
.sdata2 start:0x803F7E58 end:0x803F7FB0
c/c_dylink.o:
c/c_dylink.cpp:
.text start:0x800227A0 end:0x80023004
.text start:0x80023004 end:0x8002306C
.rodata start:0x803398D8 end:0x8033BB90
@@ -1704,7 +1704,7 @@ d/d_wpot_water.cpp:
.sbss start:0x803F7300 end:0x803F7308
.sdata2 start:0x803FBB00 end:0x803FBB20
Runtime.PPCEABI.H/__mem.o:
Runtime.PPCEABI.H/__mem.c:
.init start:0x800033A8 end:0x800034E0
DynamicLink.cpp:
+4 -4
View File
@@ -140,10 +140,10 @@ m_Do/m_Do_machine_exception.cpp:
.rodata start:0x80337158 end:0x80337338
.sbss start:0x803E9E90 end:0x803E9E98
dolphin/os/__start.o:
dolphin/os/__start.c:
.init start:0x80003100 end:0x800033A8
c/c_damagereaction.o:
c/c_damagereaction.cpp:
.text start:0x8001BB70 end:0x80022430
.ctors start:0x803360A0 end:0x803360A4
.data start:0x80365270 end:0x80365478
@@ -152,7 +152,7 @@ c/c_damagereaction.o:
.sbss start:0x803E9E98 end:0x803E9EA0
.sdata2 start:0x803EB300 end:0x803EB458
c/c_dylink.o:
c/c_dylink.cpp:
.text start:0x80022430 end:0x80022C94
.text start:0x80022C94 end:0x80022CFC
.rodata start:0x80337338 end:0x803395F0
@@ -1704,7 +1704,7 @@ d/d_wpot_water.cpp:
.sbss start:0x803EA7A0 end:0x803EA7A8
.sdata2 start:0x803EEFD8 end:0x803EEFF8
Runtime.PPCEABI.H/__mem.o:
Runtime.PPCEABI.H/__mem.c:
.init start:0x800033A8 end:0x800034E0
DynamicLink.cpp:
+4 -4
View File
@@ -141,10 +141,10 @@ m_Do/m_Do_machine_exception.cpp:
.rodata start:0x8033EC90 end:0x8033EE70
.sbss start:0x803FE1B0 end:0x803FE1B8
dolphin/os/__start.o:
dolphin/os/__start.c:
.init start:0x80003100 end:0x800033A8
c/c_damagereaction.o:
c/c_damagereaction.cpp:
.text start:0x8001C22C end:0x80022AF0
.ctors start:0x8033DBE4 end:0x8033DBE8
.data start:0x80378AB0 end:0x80378CB8
@@ -153,7 +153,7 @@ c/c_damagereaction.o:
.sbss start:0x803FE1B8 end:0x803FE1C0
.sdata2 start:0x803FF678 end:0x803FF7D0
c/c_dylink.o:
c/c_dylink.cpp:
.text start:0x80022AF0 end:0x80023354
.text start:0x80023354 end:0x800233BC
.rodata start:0x8033EE70 end:0x80341128
@@ -1704,7 +1704,7 @@ d/d_wpot_water.cpp:
.sbss start:0x803FEB20 end:0x803FEB28
.sdata2 start:0x80403350 end:0x80403370
Runtime.PPCEABI.H/__mem.o:
Runtime.PPCEABI.H/__mem.c:
.init start:0x800033A8 end:0x800034E0
DynamicLink.cpp:
+915 -112
View File
File diff suppressed because it is too large Load Diff
+8 -2
View File
@@ -45,15 +45,17 @@ class ProjectConfig:
self.sjiswrap_path = None # If None, download
# Project config
self.build_rels = True # Build REL files
self.check_sha_path = None # Path to version.sha1
self.config_path = None # Path to config.yml
self.build_rels = True # Build REL files
self.debug = False # Build with debug info
self.generate_map = False # Generate map file(s)
self.ldflags = None # Linker flags
self.linker_version = None # mwld version
self.libs = None # List of libraries
self.linker_version = None # mwld version
self.version = None # Version name
self.warn_missing_config = False # Warn on missing unit configuration
self.warn_missing_source = False # Warn on missing source file
# Progress output and progress.json config
self.progress_all = True # Include combined "all" category
@@ -495,6 +497,8 @@ def generate_build_ninja(config, build_config):
obj_path, obj_name = build_obj["object"], build_obj["name"]
result = config.find_object(obj_name)
if not result:
if config.warn_missing_config:
print(f"Missing configuration for {obj_name}")
link_step.add(obj_path)
return
@@ -506,6 +510,8 @@ def generate_build_ninja(config, build_config):
unit_src_path = config.src_dir / options["source"]
if not unit_src_path.exists():
if config.warn_missing_source:
print(f"Missing source file {unit_src_path}")
link_step.add(obj_path)
return