mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 05:53:30 +08:00
fs/squashfs: add lz4 compression support
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
dc7e1762d0
commit
996dc12eff
@ -15,6 +15,9 @@ choice
|
||||
config BR2_TARGET_ROOTFS_SQUASHFS4_GZIP
|
||||
bool "gzip"
|
||||
|
||||
config BR2_TARGET_ROOTFS_SQUASHFS4_LZ4
|
||||
bool "lz4"
|
||||
|
||||
config BR2_TARGET_ROOTFS_SQUASHFS4_LZMA
|
||||
bool "lzma"
|
||||
|
||||
|
@ -6,6 +6,9 @@
|
||||
|
||||
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs
|
||||
|
||||
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZ4),y)
|
||||
ROOTFS_SQUASHFS_ARGS += -comp lz4
|
||||
else
|
||||
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZO),y)
|
||||
ROOTFS_SQUASHFS_ARGS += -comp lzo
|
||||
else
|
||||
@ -19,6 +22,7 @@ ROOTFS_SQUASHFS_ARGS += -comp gzip
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
define ROOTFS_SQUASHFS_CMD
|
||||
$(HOST_DIR)/usr/bin/mksquashfs $(TARGET_DIR) $@ -noappend \
|
||||
|
Loading…
Reference in New Issue
Block a user