Skip to content

Commit

Permalink
make: x_finalize_helper.firm
Browse files Browse the repository at this point in the history
To prevent conflict with chainloader
  • Loading branch information
lilyuwuu authored Aug 13, 2024
1 parent 2aaa76c commit 356e84f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
.PHONY := builds finalize.romfs finalize_helper.firm clean
.PHONY := builds finalize.romfs x_finalize_helper.firm clean

all: builds/finalize_helper.firm
all: builds/x_finalize_helper.firm

builds:
@[ -d builds ] || mkdir -p builds

builds/finalize.romfs: builds
@3dstool -c -t romfs --romfs-dir romfs --file $@

builds/finalize_helper.firm: builds/finalize.romfs
builds/x_finalize_helper.firm: builds/finalize.romfs
@cp finalize_helper.gm9 GodMode9/data/autorun.gm9
@sed -i s/FINALIZE_SHA256SUM/$(shell sha256sum $< | awk '{print $$1}')/g GodMode9/data/autorun.gm9
@$(MAKE) -C GodMode9 SCRIPT_RUNNER=1
Expand Down

0 comments on commit 356e84f

Please sign in to comment.