diff --git a/Makefile b/Makefile index 909731a..eddbccd 100644 --- a/Makefile +++ b/Makefile @@ -31,3 +31,4 @@ @firm_builder $(TARGET) $(ENTRY9) $(ENTRY11) $(SECTION0_ADR) $(SECTION0_TYPE) \ $(SECTION0_FILE) $(SECTION1_ADR) $(SECTION1_TYPE) $(SECTION1_FILE) @echo built ... $(TARGET) + @7z a -mx -m0=ARM -m1=lzma2 fastboot3ds.7z $(TARGET) diff --git a/Makefile.arm9 b/Makefile.arm9 index f16ef16..e699304 100644 --- a/Makefile.arm9 +++ b/Makefile.arm9 @@ -61,9 +61,9 @@ VERSION_STR := $(shell git describe --tags --match v[0-9]* --abbrev=8 | sed 's/-.*//') endif -DEFINES += -DVER_STRING=\"$(VERSION_STR)\" -DEFINES += -DVER_MAJOR=$(shell echo "$(VERSION_STR)" | sed 's/v\([0-9]*\)\..*/\1/i') -DEFINES += -DVER_MINOR=$(shell echo "$(VERSION_STR)" | sed 's/.*\.\([0-9]*\).*/\1/') +DEFINES += -DVER_STRING=\"$(VERSION_STR)\" +DEFINES += -DVER_MAJOR=$(shell echo "$(VERSION_STR)" | sed 's/v\([0-9]*\)\..*/\1/i') +DEFINES += -DVER_MINOR=$(shell echo "$(VERSION_STR)" | sed 's/.*\.\([0-9]*\).*/\1/') .PHONY: clean release