The default compression algorithm for squashfs is zlib, so only
do a 'default y' there. For xz change to 'default y if the algorithm
is enabled anyway' likke the other compression algorithms do.

Signed-off-by: Sascha Hauer <[email protected]>
---
 fs/squashfs/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/squashfs/Kconfig b/fs/squashfs/Kconfig
index 2e28e90..b84ef75 100644
--- a/fs/squashfs/Kconfig
+++ b/fs/squashfs/Kconfig
@@ -60,7 +60,7 @@ config SQUASHFS_LZO
 
 config SQUASHFS_XZ
        bool "Include support for XZ compressed file systems"
-       default y
+       default y if XZ_DECOMPRESS
        depends on FS_SQUASHFS
        select XZ_DECOMPRESS
        help
-- 
2.9.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to