summaryrefslogtreecommitdiff
path: root/fs/squashfs/Makefile
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2011-07-22 06:01:28 +0400
committerPhillip Lougher <phillip@squashfs.org.uk>2011-07-22 06:01:28 +0400
commitcc6d3497141adedb71de8ddce62bf4cd4817832d (patch)
tree7fb205e8f8c393b27a89a5c08c97563ead1f32fa /fs/squashfs/Makefile
parent812753d66f5a45e59a9e0904c77a661c2410a3b4 (diff)
downloadlinux-cc6d3497141adedb71de8ddce62bf4cd4817832d.tar.xz
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/Makefile')
-rw-r--r--fs/squashfs/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/squashfs/Makefile b/fs/squashfs/Makefile
index cecf2bea07af..110b0476f3b4 100644
--- a/fs/squashfs/Makefile
+++ b/fs/squashfs/Makefile
@@ -4,7 +4,8 @@
obj-$(CONFIG_SQUASHFS) += squashfs.o
squashfs-y += block.o cache.o dir.o export.o file.o fragment.o id.o inode.o
-squashfs-y += namei.o super.o symlink.o zlib_wrapper.o decompressor.o
+squashfs-y += namei.o super.o symlink.o decompressor.o
squashfs-$(CONFIG_SQUASHFS_XATTR) += xattr.o xattr_id.o
squashfs-$(CONFIG_SQUASHFS_LZO) += lzo_wrapper.o
squashfs-$(CONFIG_SQUASHFS_XZ) += xz_wrapper.o
+squashfs-$(CONFIG_SQUASHFS_ZLIB) += zlib_wrapper.o