mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Add version to release archive, include ntrboot FIRMs
This commit is contained in:
parent
ac810359fa
commit
0666370f75
7
Makefile
7
Makefile
@ -151,16 +151,19 @@ ntrboot: binary screeninit
|
||||
firmtool build $(OUTPUT)_ntr_dev.firm -n 0x08006000 -A 0x08006000 -D $(OUTPUT).bin $(OUTPUT_D)/screeninit.elf -C NDMA XDMA -S spi-dev -g
|
||||
|
||||
release:
|
||||
@rm -fr $(BUILD) $(OUTPUT_D) $(RELEASE)
|
||||
@-rm -fr $(BUILD) $(OUTPUT_D) $(RELEASE)
|
||||
@$(MAKE) --no-print-directory binary
|
||||
@$(MAKE) --no-print-directory firm
|
||||
@$(MAKE) --no-print-directory ntrboot
|
||||
@[ -d $(RELEASE) ] || mkdir -p $(RELEASE)
|
||||
@[ -d $(RELEASE)/ntrboot ] || mkdir -p $(RELEASE)/ntrboot
|
||||
@cp $(OUTPUT).firm $(RELEASE)
|
||||
@cp $(CURDIR)/README.md $(RELEASE)
|
||||
@cp $(CURDIR)/HelloScript.gm9 $(RELEASE)
|
||||
@cp $(OUTPUT)_ntr.firm $(RELEASE)/ntrboot
|
||||
@cp $(OUTPUT)_ntr_dev.firm $(RELEASE)/ntrboot
|
||||
@cp -R $(CURDIR)/resources/gm9 $(RELEASE)/gm9
|
||||
@-7z a $(RELEASE)/$(TARGET)-`date +'%Y%m%d-%H%M%S'`.zip $(RELEASE)/*
|
||||
@-7z a $(RELEASE)/$(TARGET)-$(VERSION)-`date +'%Y%m%d-%H%M%S'`.zip $(RELEASE)/*
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
clean:
|
||||
|
Loading…
x
Reference in New Issue
Block a user