![Peter Korsgaard](/assets/img/avatar_default.png)
The logic to ensure at least one compression backend is selected was not updated when lz4, xz and zstd were introduced - Fix that. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Reviewed-by: Peter Seiderer <ps.report@gmx.net> [Peter: add comment as suggested by Peter Seiderer] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
61 lines
1.3 KiB
Plaintext
61 lines
1.3 KiB
Plaintext
config BR2_PACKAGE_SQUASHFS
|
|
bool "squashfs"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_MMU # fork()
|
|
# ensure at least on compression backend (defaults to gzip)
|
|
select BR2_PACKAGE_SQUASHFS_GZIP if !( \
|
|
BR2_PACKAGE_SQUASHFS_LZ4 || \
|
|
BR2_PACKAGE_SQUASHFS_LZMA || \
|
|
BR2_PACKAGE_SQUASHFS_LZO || \
|
|
BR2_PACKAGE_SQUASHFS_XZ || \
|
|
BR2_PACKAGE_SQUASHFS_ZSTD)
|
|
help
|
|
Tools to generate SquashFS filesystems.
|
|
|
|
http://squashfs.sourceforge.net/
|
|
|
|
if BR2_PACKAGE_SQUASHFS
|
|
|
|
config BR2_PACKAGE_SQUASHFS_GZIP
|
|
bool "gzip support"
|
|
default y
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
Support GZIP compression algorithm
|
|
|
|
config BR2_PACKAGE_SQUASHFS_LZ4
|
|
bool "lz4 support"
|
|
select BR2_PACKAGE_LZ4
|
|
help
|
|
Support LZ4 compression algorithm
|
|
|
|
config BR2_PACKAGE_SQUASHFS_LZMA
|
|
bool "lzma support"
|
|
select BR2_PACKAGE_XZ
|
|
help
|
|
Support LZMA compression algorithm
|
|
|
|
config BR2_PACKAGE_SQUASHFS_LZO
|
|
bool "lzo support"
|
|
select BR2_PACKAGE_LZO
|
|
help
|
|
Support LZO compression algorithm
|
|
|
|
config BR2_PACKAGE_SQUASHFS_XZ
|
|
bool "xz support"
|
|
select BR2_PACKAGE_XZ
|
|
help
|
|
Support XZ compression algorithm
|
|
|
|
config BR2_PACKAGE_SQUASHFS_ZSTD
|
|
bool "zstd support"
|
|
select BR2_PACKAGE_ZSTD
|
|
help
|
|
Support ZSTD compression algorithm
|
|
|
|
endif
|
|
|
|
comment "squashfs needs a toolchain w/ threads"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_MMU
|