mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
configure: use relative paths & fix arm toolchain
This commit is contained in:
parent
49bee8512b
commit
048b166d0c
@ -18,7 +18,7 @@ ASFLAGS = "-EB -G 0"
|
||||
|
||||
# Paths:
|
||||
ROOT = Path(__file__).parent.parent.parent
|
||||
BUILD_TOOLS = ROOT / "tools" / "build" # directory where this file is (TODO: use relative_to)
|
||||
BUILD_TOOLS = (ROOT / "tools" / "build").relative_to(ROOT)
|
||||
YAY0_COMPRESS_TOOL = f"{BUILD_TOOLS}/yay0/Yay0compress"
|
||||
CRC_TOOL = f"{BUILD_TOOLS}/rom/n64crc"
|
||||
|
||||
@ -639,7 +639,7 @@ if __name__ == "__main__":
|
||||
for version in VERSIONS:
|
||||
rom = ROOT / f"ver/{version}/baserom.z64"
|
||||
|
||||
print(f"configure: looking for baserom {rom}", end="")
|
||||
print(f"configure: looking for baserom {rom.relative_to(ROOT)}", end="")
|
||||
|
||||
if rom.exists():
|
||||
print("...found")
|
||||
|
Loading…
Reference in New Issue
Block a user