fs/squashfs: add zstd support
authorPeter Seiderer <ps.report@gmx.net>
Mon, 16 Apr 2018 19:39:51 +0000 (21:39 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 25 Apr 2018 21:39:04 +0000 (23:39 +0200)
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
fs/squashfs/Config.in
fs/squashfs/squashfs.mk

index ca9ddb22180ee82a8172948ba10a180193c64ac7..dde2097cb747f7c0b42969635da775d1b8156afe 100644 (file)
@@ -27,5 +27,8 @@ config BR2_TARGET_ROOTFS_SQUASHFS4_LZO
 config BR2_TARGET_ROOTFS_SQUASHFS4_XZ
        bool "xz"
 
+config BR2_TARGET_ROOTFS_SQUASHFS4_ZSTD
+       bool "zstd"
+
 endchoice
 endif
index 51abd5d7d0e44e8ba51e63ae7ba33d882579c721..34ab0486036f53ac1bebf58fe8ff50ac196a5305 100644 (file)
@@ -16,6 +16,8 @@ else ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZMA),y)
 ROOTFS_SQUASHFS_ARGS += -comp lzma
 else ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_XZ),y)
 ROOTFS_SQUASHFS_ARGS += -comp xz
+else ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_ZSTD),y)
+ROOTFS_SQUASHFS_ARGS += -comp zstd
 else
 ROOTFS_SQUASHFS_ARGS += -comp gzip
 endif