aboutsummaryrefslogtreecommitdiffstats
path: root/fs/squashfs/Kconfig
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2011-07-21 22:01:28 -0400
committerPhillip Lougher <phillip@squashfs.org.uk>2011-07-21 22:01:28 -0400
commitcc6d3497141adedb71de8ddce62bf4cd4817832d (patch)
tree7fb205e8f8c393b27a89a5c08c97563ead1f32fa /fs/squashfs/Kconfig
parent812753d66f5a45e59a9e0904c77a661c2410a3b4 (diff)
Squashfs: Make ZLIB compression support optional
Squashfs now supports XZ and LZO compression in addition to ZLIB. As such it no longer makes sense to always include ZLIB support. In particular embedded systems may only use LZO or XZ compression, and the ability to exclude ZLIB support will reduce kernel size. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Diffstat (limited to 'fs/squashfs/Kconfig')
-rw-r--r--fs/squashfs/Kconfig14
1 files changed, 13 insertions, 1 deletions
diff --git a/fs/squashfs/Kconfig b/fs/squashfs/Kconfig
index 7797218d0b30..1360d4f88f41 100644
--- a/fs/squashfs/Kconfig
+++ b/fs/squashfs/Kconfig
@@ -1,7 +1,6 @@
1config SQUASHFS 1config SQUASHFS
2 tristate "SquashFS 4.0 - Squashed file system support" 2 tristate "SquashFS 4.0 - Squashed file system support"
3 depends on BLOCK 3 depends on BLOCK
4 select ZLIB_INFLATE
5 help 4 help
6 Saying Y here includes support for SquashFS 4.0 (a Compressed 5 Saying Y here includes support for SquashFS 4.0 (a Compressed
7 Read-Only File System). Squashfs is a highly compressed read-only 6 Read-Only File System). Squashfs is a highly compressed read-only
@@ -36,6 +35,19 @@ config SQUASHFS_XATTR
36 35
37 If unsure, say N. 36 If unsure, say N.
38 37
38config SQUASHFS_ZLIB
39 bool "Include support for ZLIB compressed file systems"
40 depends on SQUASHFS
41 select ZLIB_INFLATE
42 default y
43 help
44 ZLIB compression is the standard compression used by Squashfs
45 file systems. It offers a good trade-off between compression
46 achieved and the amount of CPU time and memory necessary to
47 compress and decompress.
48
49 If unsure, say Y.
50
39config SQUASHFS_LZO 51config SQUASHFS_LZO
40 bool "Include support for LZO compressed file systems" 52 bool "Include support for LZO compressed file systems"
41 depends on SQUASHFS 53 depends on SQUASHFS