mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
squashfs: add zstd support
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>
This commit is contained in:
parent
1e7fbf007c
commit
2254a32720
@ -41,6 +41,12 @@ config BR2_PACKAGE_SQUASHFS_XZ
|
|||||||
help
|
help
|
||||||
Support XZ compression algorithm
|
Support XZ compression algorithm
|
||||||
|
|
||||||
|
config BR2_PACKAGE_SQUASHFS_ZSTD
|
||||||
|
bool "zstd support"
|
||||||
|
select BR2_PACKAGE_ZSTD
|
||||||
|
help
|
||||||
|
Support ZSTD compression algorithm
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "squashfs needs a toolchain w/ threads"
|
comment "squashfs needs a toolchain w/ threads"
|
||||||
|
@ -9,7 +9,7 @@ SQUASHFS_SITE = https://git.kernel.org/pub/scm/fs/squashfs/squashfs-tools.git
|
|||||||
SQUASHFS_SITE_METHOD = git
|
SQUASHFS_SITE_METHOD = git
|
||||||
SQUASHFS_LICENSE = GPL-2.0+
|
SQUASHFS_LICENSE = GPL-2.0+
|
||||||
SQUASHFS_LICENSE_FILES = COPYING
|
SQUASHFS_LICENSE_FILES = COPYING
|
||||||
SQUASHFS_MAKE_ARGS = XATTR_SUPPORT=1 ZSTD_SUPPORT=0
|
SQUASHFS_MAKE_ARGS = XATTR_SUPPORT=1
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SQUASHFS_LZ4),y)
|
ifeq ($(BR2_PACKAGE_SQUASHFS_LZ4),y)
|
||||||
SQUASHFS_DEPENDENCIES += lz4
|
SQUASHFS_DEPENDENCIES += lz4
|
||||||
@ -39,6 +39,13 @@ else
|
|||||||
SQUASHFS_MAKE_ARGS += LZO_SUPPORT=0
|
SQUASHFS_MAKE_ARGS += LZO_SUPPORT=0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_SQUASHFS_ZSTD),y)
|
||||||
|
SQUASHFS_DEPENDENCIES += zstd
|
||||||
|
SQUASHFS_MAKE_ARGS += ZSTD_SUPPORT=1 COMP_DEFAULT=zstd
|
||||||
|
else
|
||||||
|
SQUASHFS_MAKE_ARGS += ZSTD_SUPPORT=0
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SQUASHFS_GZIP),y)
|
ifeq ($(BR2_PACKAGE_SQUASHFS_GZIP),y)
|
||||||
SQUASHFS_DEPENDENCIES += zlib
|
SQUASHFS_DEPENDENCIES += zlib
|
||||||
SQUASHFS_MAKE_ARGS += GZIP_SUPPORT=1 COMP_DEFAULT=gzip
|
SQUASHFS_MAKE_ARGS += GZIP_SUPPORT=1 COMP_DEFAULT=gzip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user