mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
Makefile: call firmtool as a PY3 module (#535)
Calling firmtool directly may not work as expected on Windows, where Python is not added to PATH by default. However, the py launcher is always added to a directory in PATH by default. The only downside is that firmtool with Python 2 will not automatically be called. Since Python 3.5 is required for add2tar, however, this shouldn't be an issue.
This commit is contained in:
parent
3c8fe0f69d
commit
506a3d3089
4
Makefile
4
Makefile
@ -85,8 +85,8 @@ firm: $(ELF) vram0
|
|||||||
@echo "[VERSION] $(VERSION)"
|
@echo "[VERSION] $(VERSION)"
|
||||||
@echo "[BUILD] $(DBUILTL)"
|
@echo "[BUILD] $(DBUILTL)"
|
||||||
@echo "[FIRM] $(FIRM)"
|
@echo "[FIRM] $(FIRM)"
|
||||||
@firmtool build $(FIRM) $(FTFLAGS) -g -A 0x18000000 -D $(ELF) $(VRAM_OUT) -C NDMA XDMA memcpy
|
@$(PY3) -m firmtool build $(FIRM) $(FTFLAGS) -g -A 0x18000000 -D $(ELF) $(VRAM_OUT) -C NDMA XDMA memcpy
|
||||||
@echo "[FIRM] $(FIRMD)"
|
@echo "[FIRM] $(FIRMD)"
|
||||||
@firmtool build $(FIRMD) $(FTDFLAGS) -g -A 0x18000000 -D $(ELF) $(VRAM_OUT) -C NDMA XDMA memcpy
|
@$(PY3) -m firmtool build $(FIRMD) $(FTDFLAGS) -g -A 0x18000000 -D $(ELF) $(VRAM_OUT) -C NDMA XDMA memcpy
|
||||||
|
|
||||||
.FORCE:
|
.FORCE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user