aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2018-12-07 14:13:55 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-12-08 00:11:36 +0100
commit84aeb4419f394b2eb11a22a962bc20e05b311b5f (patch)
treec53b660f15ee766d9a5f60e9c55923409fc88fc9
parentacb89c8d93952468fc9e24c7ddd9e361b8108e07 (diff)
downloadbuildroot-84aeb4419f394b2eb11a22a962bc20e05b311b5f.tar.gz
buildroot-84aeb4419f394b2eb11a22a962bc20e05b311b5f.tar.bz2
squashfs: do not force gzip support if lz4/xz/zstd is selected
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>
-rw-r--r--package/squashfs/Config.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/squashfs/Config.in b/package/squashfs/Config.in
index c16ebbf27f..f5ae5d9bec 100644
--- a/package/squashfs/Config.in
+++ b/package/squashfs/Config.in
@@ -2,7 +2,13 @@ config BR2_PACKAGE_SQUASHFS
bool "squashfs"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
- select BR2_PACKAGE_SQUASHFS_GZIP if !(BR2_PACKAGE_SQUASHFS_LZMA || BR2_PACKAGE_SQUASHFS_LZO)
+ # 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.