aboutsummaryrefslogtreecommitdiff
path: root/fs/squashfs
diff options
context:
space:
mode:
authorGravatar Matthias Weisser <m.weisser.m@gmail.com>2015-08-11 09:58:21 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-10-04 18:35:40 +0200
commit07e37bcc42f5b91a94da04178b9bfc8372af634b (patch)
tree853bde1c32a0b1644fdc215ac0e02dd2cd1a1f7e /fs/squashfs
parentdc66e204ed63adf5055fe434643e18fc06a11d80 (diff)
downloadbuildroot-07e37bcc42f5b91a94da04178b9bfc8372af634b.tar.gz
buildroot-07e37bcc42f5b91a94da04178b9bfc8372af634b.tar.bz2
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 <m.weisser.m@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'fs/squashfs')
-rw-r--r--fs/squashfs/squashfs.mk2
1 files changed, 1 insertions, 1 deletions
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