mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
nwztool/upgtool: add support for compression
To decompress some output file(s), simply pass -z <idx> where idx is the index of the file to decompress, starting from 0. For example upgtool -e NW_WM_FW.UPG -o tmp/ -m nw-wm1a -z 6 -z 7 to decompress files 6 and 7. To compress file, use the same options: upgtool -c NW_WM_FW.UPG -m nw-wm1a -z 2 script.sh md5sum.txt system.img Change-Id: I1ef0b3e02c98e58154f1a959fb1ad70ad2ce6500
This commit is contained in:
parent
1f338f7078
commit
1b5e824405
4 changed files with 134 additions and 31 deletions
|
|
@ -31,7 +31,7 @@ endif
|
|||
|
||||
CXXFLAGS+=-g -Wall $(DEFINES)
|
||||
CFLAGS+=-g -Wall -std=c99 $(DEFINES)
|
||||
LDLIBS+=-lpthread
|
||||
LDLIBS+=-lpthread -lz
|
||||
|
||||
BINS=upgtool$(EXE_EXT)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue