build: Add an 'xz' target to generate a .tar.xz image
Improve the tarball generation a bit too Change-Id: Ie68bea4e876bad5cd101dd396ec2247127b1b390
This commit is contained in:
parent
3831051c47
commit
0faf978c3d
1 changed files with 12 additions and 1 deletions
|
@ -333,16 +333,26 @@ fullzip:
|
||||||
7zip:
|
7zip:
|
||||||
$(SILENT)$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) --app=$(APPLICATION) -m \"$(MODELNAME)\" -i \"$(TARGET_ID)\" -o "rockbox.7z" -z "7za a -mx=9" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" $(TARGET) $(BINARY)
|
$(SILENT)$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) --app=$(APPLICATION) -m \"$(MODELNAME)\" -i \"$(TARGET_ID)\" -o "rockbox.7z" -z "7za a -mx=9" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" $(TARGET) $(BINARY)
|
||||||
|
|
||||||
tar:
|
ifdef NODEPS
|
||||||
|
$(BUILDDIR)/rockbox.tar:
|
||||||
|
else
|
||||||
|
$(BUILDDIR)/rockbox.tar: build
|
||||||
|
endif
|
||||||
$(SILENT)rm -f rockbox.tar
|
$(SILENT)rm -f rockbox.tar
|
||||||
|
$(call PRINTS,TAR $(notdir $@))
|
||||||
$(SILENT)$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) --app=$(APPLICATION) -m \"$(MODELNAME)\" -i \"$(TARGET_ID)\" -o "rockbox.tar" -z "tar -cf" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" $(TARGET) $(BINARY)
|
$(SILENT)$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) --app=$(APPLICATION) -m \"$(MODELNAME)\" -i \"$(TARGET_ID)\" -o "rockbox.tar" -z "tar -cf" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" $(TARGET) $(BINARY)
|
||||||
|
|
||||||
|
tar: $(BUILDDIR)/rockbox.tar
|
||||||
|
|
||||||
bzip2: tar
|
bzip2: tar
|
||||||
$(SILENT)bzip2 -f9 rockbox.tar
|
$(SILENT)bzip2 -f9 rockbox.tar
|
||||||
|
|
||||||
gzip: tar
|
gzip: tar
|
||||||
$(SILENT)gzip -f9 rockbox.tar
|
$(SILENT)gzip -f9 rockbox.tar
|
||||||
|
|
||||||
|
xz: tar
|
||||||
|
$(SILENT)xz -f rockbox.tar
|
||||||
|
|
||||||
manual manual-pdf:
|
manual manual-pdf:
|
||||||
$(SILENT)$(MAKE) -C $(MANUALDIR) OBJDIR=$(BUILDDIR)/manual manual-pdf
|
$(SILENT)$(MAKE) -C $(MANUALDIR) OBJDIR=$(BUILDDIR)/manual manual-pdf
|
||||||
manual-html:
|
manual-html:
|
||||||
|
@ -403,6 +413,7 @@ help:
|
||||||
@echo "zip - creates a rockbox.zip of your build (no fonts)"
|
@echo "zip - creates a rockbox.zip of your build (no fonts)"
|
||||||
@echo "gzip - creates a rockbox.tar.gz of your build (no fonts)"
|
@echo "gzip - creates a rockbox.tar.gz of your build (no fonts)"
|
||||||
@echo "bzip2 - creates a rockbox.tar.bz2 of your build (no fonts)"
|
@echo "bzip2 - creates a rockbox.tar.bz2 of your build (no fonts)"
|
||||||
|
@echo "xz - creates a rockbox.tar.xz of your build (no fonts)"
|
||||||
@echo "7zip - creates a rockbox.7z of your build (no fonts)"
|
@echo "7zip - creates a rockbox.7z of your build (no fonts)"
|
||||||
@echo "fontzip - creates rockbox-fonts.zip"
|
@echo "fontzip - creates rockbox-fonts.zip"
|
||||||
@echo "mapzip - creates rockbox-maps.zip with all .map files"
|
@echo "mapzip - creates rockbox-maps.zip with all .map files"
|
||||||
|
|
Loading…
Reference in a new issue