mirror of https://github.com/PrimeDecomp/prime.git
configure.py: Use metroidbuildinfo
This commit is contained in:
parent
8f1d21ac83
commit
799ce41ad0
|
@ -127,17 +127,8 @@ MetroidBuildInfo:
|
||||||
.ascii "!#$MetroidBuildInfo!#$"
|
.ascii "!#$MetroidBuildInfo!#$"
|
||||||
.global BuildString
|
.global BuildString
|
||||||
BuildString:
|
BuildString:
|
||||||
#.asciz "PAD_PAD_PAD_PAD_PAD_PAD_PAD_PAD_PAD"
|
# Replaced after build
|
||||||
.if version == 2
|
.asciz "PAD_PAD_PAD_PAD_PAD_PAD_PAD_PAD_PAD"
|
||||||
.asciz "Build v1.097 12/19/2002 16:03:43"
|
|
||||||
.asciz "AD"
|
|
||||||
.elseif version == 1
|
|
||||||
.asciz "Build v1.093 11/5/2002 19:50:01"
|
|
||||||
.asciz "PAD"
|
|
||||||
.else
|
|
||||||
.asciz "Build v1.088 10/29/2002 2:21:25"
|
|
||||||
.asciz "PAD"
|
|
||||||
.endif
|
|
||||||
.balign 4
|
.balign 4
|
||||||
|
|
||||||
.global lbl_803CC5C4
|
.global lbl_803CC5C4
|
||||||
|
|
11
configure.py
11
configure.py
|
@ -1192,7 +1192,7 @@ n.rule(name="as", command="$devkitppc/bin/powerpc-eabi-as $asflags -o $out $in -
|
||||||
n.newline()
|
n.newline()
|
||||||
if ENABLE_STATIC_LIBS:
|
if ENABLE_STATIC_LIBS:
|
||||||
n.rule(name="ar", command="$devkitppc/bin/powerpc-eabi-ar crs $out $in",
|
n.rule(name="ar", command="$devkitppc/bin/powerpc-eabi-ar crs $out $in",
|
||||||
description="AR $out")
|
description="AR $out")
|
||||||
n.newline()
|
n.newline()
|
||||||
n.rule(name="link", command="$wine tools/mwcc_compiler/$mwcc_version/mwldeppc.exe $ldflags -o $out @$out.rsp",
|
n.rule(name="link", command="$wine tools/mwcc_compiler/$mwcc_version/mwldeppc.exe $ldflags -o $out @$out.rsp",
|
||||||
description="LINK $out", rspfile="$out.rsp", rspfile_content="$in")
|
description="LINK $out", rspfile="$out.rsp", rspfile_content="$in")
|
||||||
|
@ -1262,9 +1262,12 @@ n.newline()
|
||||||
###
|
###
|
||||||
n.comment("main.dol")
|
n.comment("main.dol")
|
||||||
n.build("build/elf2dol", "cc", "tools/elf2dol.c")
|
n.build("build/elf2dol", "cc", "tools/elf2dol.c")
|
||||||
n.rule(name="elf2dol", command="build/elf2dol $in $out", description="DOL $out")
|
n.build("build/metroidbuildinfo", "cc", "tools/metroidbuildinfo.c")
|
||||||
n.build("$builddir/main.dol", "elf2dol",
|
n.rule(name="elf2dol",
|
||||||
"$builddir/main.elf", implicit="build/elf2dol")
|
command="build/elf2dol $in $out && build/metroidbuildinfo $out buildstrings/mp1.$version.build",
|
||||||
|
description="DOL $out")
|
||||||
|
n.build("$builddir/main.dol", "elf2dol", "$builddir/main.elf",
|
||||||
|
implicit=["build/elf2dol", "build/metroidbuildinfo"])
|
||||||
n.newline()
|
n.newline()
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
Loading…
Reference in New Issue