mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
d_a_e_pz equivalent (#2330)
* d_a_e_pz equivalent * rename var * match f_pc closer to debug * hopefully fix decompctx * sdk done * remove unneeded file
This commit is contained in:
+13
-12
@@ -212,7 +212,7 @@ cflags_base = [
|
||||
"-i src/PowerPC_EABI_Support/MSL/MSL_C++/MSL_Common/Include",
|
||||
"-i src/PowerPC_EABI_Support/Runtime/Inc",
|
||||
"-i src/PowerPC_EABI_Support/MetroTRK",
|
||||
"-Iinclude/dolphin",
|
||||
"-i include/dolphin",
|
||||
f"-DVERSION={version_num}",
|
||||
"-D__GEKKO__",
|
||||
]
|
||||
@@ -245,7 +245,6 @@ cflags_runtime = [
|
||||
*cflags_base,
|
||||
"-use_lmw_stmw on",
|
||||
"-str reuse,pool,readonly",
|
||||
"-gccinc",
|
||||
"-common off",
|
||||
"-char signed",
|
||||
]
|
||||
@@ -291,7 +290,7 @@ cflags_dolphin = [
|
||||
"-i src/PowerPC_EABI_Support/MSL/MSL_C++/MSL_Common/Include",
|
||||
"-i src/PowerPC_EABI_Support/Runtime/Inc",
|
||||
"-i src/PowerPC_EABI_Support/MetroTRK",
|
||||
"-Iinclude/dolphin",
|
||||
"-i include/dolphin",
|
||||
f"-DVERSION={version_num}",
|
||||
"-D__GEKKO__",
|
||||
"-DSDK_REVISION=2",
|
||||
@@ -484,6 +483,7 @@ config.libs = [
|
||||
Object(MatchingFor("GZ2E01"), "f_pc/f_pc_draw.cpp"),
|
||||
Object(MatchingFor("GZ2E01"), "f_pc/f_pc_fstcreate_req.cpp"),
|
||||
Object(MatchingFor("GZ2E01"), "f_pc/f_pc_stdcreate_req.cpp"),
|
||||
Object(NonMatching, "f_pc/f_pc_debug_sv.cpp"),
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -1276,10 +1276,10 @@ config.libs = [
|
||||
Object(MatchingFor("GZ2E01"), "PowerPC_EABI_Support/Runtime/Src/__va_arg.c"),
|
||||
Object(MatchingFor("GZ2E01"), "PowerPC_EABI_Support/Runtime/Src/global_destructor_chain.c"),
|
||||
Object(MatchingFor("GZ2E01"), "PowerPC_EABI_Support/Runtime/Src/CPlusLibPPC.cp"),
|
||||
Object(NonMatching, "PowerPC_EABI_Support/Runtime/Src/NMWException.cp"),
|
||||
Object(MatchingFor("GZ2E01"), "PowerPC_EABI_Support/Runtime/Src/NMWException.cp", extra_cflags=["-Cpp_exceptions on"]),
|
||||
Object(MatchingFor("GZ2E01"), "PowerPC_EABI_Support/Runtime/Src/ptmf.c"),
|
||||
Object(MatchingFor("GZ2E01"), "PowerPC_EABI_Support/Runtime/Src/runtime.c"),
|
||||
Object(NonMatching, "PowerPC_EABI_Support/Runtime/Src/__init_cpp_exceptions.cpp"),
|
||||
Object(MatchingFor("GZ2E01"), "PowerPC_EABI_Support/Runtime/Src/__init_cpp_exceptions.cpp"),
|
||||
Object(MatchingFor("GZ2E01"), "PowerPC_EABI_Support/Runtime/Src/Gecko_ExceptionPPC.cp"),
|
||||
Object(MatchingFor("GZ2E01"), "PowerPC_EABI_Support/Runtime/Src/GCN_Mem_Alloc.c", extra_cflags=["-str reuse,nopool,readonly"]),
|
||||
],
|
||||
@@ -1370,11 +1370,12 @@ config.libs = [
|
||||
Object(MatchingFor("GZ2E01"), "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Portable/mutex_TRK.c"),
|
||||
Object(MatchingFor("GZ2E01"), "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Portable/notify.c"),
|
||||
Object(MatchingFor("GZ2E01"), "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Processor/ppc/Generic/flush_cache.c"),
|
||||
Object(NonMatching, "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Portable/mem_TRK.c"),
|
||||
Object(MatchingFor("GZ2E01"), "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Portable/mem_TRK.c"),
|
||||
Object(MatchingFor("GZ2E01"), "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Processor/ppc/Generic/targimpl.c"),
|
||||
Object(NonMatching, "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Processor/ppc/Export/targsupp.c", extra_cflags=["-func_align 32"]),
|
||||
Object(MatchingFor("GZ2E01"), "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Processor/ppc/Export/targsupp.s"),
|
||||
Object(MatchingFor("GZ2E01"), "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Processor/ppc/Generic/mpc_7xx_603e.c"),
|
||||
Object(NonMatching, "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Os/dolphin/dolphin_trk.c"),
|
||||
Object(MatchingFor("GZ2E01"), "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Processor/ppc/Generic/exception.s"),
|
||||
Object(MatchingFor("GZ2E01"), "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Os/dolphin/dolphin_trk.c"),
|
||||
Object(MatchingFor("GZ2E01"), "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Portable/main_TRK.c"),
|
||||
Object(MatchingFor("GZ2E01"), "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Os/dolphin/dolphin_trk_glue.c"),
|
||||
Object(MatchingFor("GZ2E01"), "TRK_MINNOW_DOLPHIN/debugger/embedded/MetroTRK/Os/dolphin/targcont.c"),
|
||||
@@ -1402,12 +1403,12 @@ config.libs = [
|
||||
},
|
||||
{
|
||||
"lib": "odemuexi2",
|
||||
"mw_version": MWVersion(config.version),
|
||||
"mw_version": "GC/1.2.5n",
|
||||
"cflags": cflags_runtime,
|
||||
"progress_category": "sdk",
|
||||
"host": False,
|
||||
"objects": [
|
||||
Object(NonMatching, "odemuexi2/DebuggerDriver.c"),
|
||||
Object(MatchingFor("GZ2E01"), "odemuexi2/DebuggerDriver.c"),
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -1431,7 +1432,7 @@ config.libs = [
|
||||
"objects": [
|
||||
Object(MatchingFor("GZ2E01"), "REL/executor.c"),
|
||||
Object(
|
||||
NonMatching,
|
||||
MatchingFor("GZ2E01"),
|
||||
"REL/global_destructor_chain.c",
|
||||
source="PowerPC_EABI_Support/Runtime/Src/global_destructor_chain.c",
|
||||
),
|
||||
@@ -1658,7 +1659,7 @@ config.libs = [
|
||||
ActorRel(MatchingFor("GZ2E01"), "d_a_e_ph"),
|
||||
ActorRel(NonMatching, "d_a_e_pm"),
|
||||
ActorRel(NonMatching, "d_a_e_po"),
|
||||
ActorRel(NonMatching, "d_a_e_pz"),
|
||||
ActorRel(Equivalent, "d_a_e_pz", extra_cflags=['-pragma "nosyminline off"']), # weak func order, inline issue
|
||||
ActorRel(NonMatching, "d_a_e_rb"),
|
||||
ActorRel(NonMatching, "d_a_e_rdb"),
|
||||
ActorRel(NonMatching, "d_a_e_rdy"),
|
||||
|
||||
Reference in New Issue
Block a user