From 07e37bcc42f5b91a94da04178b9bfc8372af634b Mon Sep 17 00:00:00 2001 From: Matthias Weisser Date: Tue, 11 Aug 2015 09:58:21 +0200 Subject: [PATCH] squashfs: Add lz4 hc compression lz4 offers a high compression mode. A minimalistic file system shrinks by about 15%. [Peter: Unconditionally use hc mode for lz4 instead of introducing another option] Signed-off-by: Matthias Weisser Signed-off-by: Peter Korsgaard --- fs/squashfs/squashfs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/squashfs/squashfs.mk b/fs/squashfs/squashfs.mk index 446906f10c..a71d9cc57b 100644 --- a/fs/squashfs/squashfs.mk +++ b/fs/squashfs/squashfs.mk @@ -7,7 +7,7 @@ ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZ4),y) -ROOTFS_SQUASHFS_ARGS += -comp lz4 +ROOTFS_SQUASHFS_ARGS += -comp lz4 -Xhc else ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZO),y) ROOTFS_SQUASHFS_ARGS += -comp lzo