summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-10-21 08:48:33 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-10-24 08:21:45 +0200
commit8129a0a972790f46930bca3707575d19ce48f49a (patch)
treec0b3f27ed1ab47c624298f57e1fd3f44d78a7a69 /fs
parent8a0fb01161aeecec01944b9df57d69ca614596de (diff)
downloadbarebox-8129a0a972790f46930bca3707575d19ce48f49a.tar.gz
barebox-8129a0a972790f46930bca3707575d19ce48f49a.tar.xz
fs: squashfs: Enable squashfs XZ support when XZ is enabled
XZ support itself is much more expensive than the squashfs XZ wrapper, so it makes sense to just compile XZ support into barebox when XZ support is available. No need to ask the user for it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/squashfs/Kconfig17
1 files changed, 7 insertions, 10 deletions
diff --git a/fs/squashfs/Kconfig b/fs/squashfs/Kconfig
index 085bfb6448..2362ba14cb 100644
--- a/fs/squashfs/Kconfig
+++ b/fs/squashfs/Kconfig
@@ -48,15 +48,12 @@ if !SQUASHFS_LZO
endif
config SQUASHFS_XZ
- bool "Include support for XZ compressed file systems"
- default y
+ bool
depends on FS_SQUASHFS
- select XZ_DECOMPRESS
- help
- Saying Y here includes support for reading Squashfs file systems
- compressed with XZ compression. XZ gives better compression than
- the default zlib compression, at the expense of greater CPU and
- memory overhead.
+ depends on XZ_DECOMPRESS
+ default y
+
+if !SQUASHFS_XZ
+ comment "XZ support disabled"
+endif
- XZ is not the standard compression used in Squashfs and so most
- file systems will be readable without selecting this option.