mk-image.sh: perfer lz4 compress

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I7ff550988e6947892b27c080c3c42c3990ccb416
This commit is contained in:
Ziyuan Xu
2020-10-02 15:39:07 +08:00
parent 55eb5d251b
commit ede69964f7

View File

@ -128,7 +128,7 @@ mkimage_auto_sized()
rm -rf $TARGET
case $FS_TYPE in
squashfs)
mksquashfs $SRC_DIR $TARGET -noappend -comp gzip
mksquashfs $SRC_DIR $TARGET -noappend -comp lz4
;;
ext[234]|msdos|fat|vfat|ntfs)
if [ ! "$SIZE" ]; then