aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lzo/Makefile
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@openedhand.com>2007-07-10 17:22:24 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-10 17:51:13 -0700
commit64c70b1cf43de158282bc1675918d503e5b15cc1 (patch)
treee7797ee372de94bb9129300e55d23034a7d05f9a /lib/lzo/Makefile
parent4c75f7416f51b0c6855952467a5db04f9c598f09 (diff)
downloadkernel_samsung_smdk4412-64c70b1cf43de158282bc1675918d503e5b15cc1.zip
kernel_samsung_smdk4412-64c70b1cf43de158282bc1675918d503e5b15cc1.tar.gz
kernel_samsung_smdk4412-64c70b1cf43de158282bc1675918d503e5b15cc1.tar.bz2
Add LZO1X algorithm to the kernel
This is a hybrid version of the patch to add the LZO1X compression algorithm to the kernel. Nitin and myself have merged the best parts of the various patches to form this version which we're both happy with (and are jointly signing off). The performance of this version is equivalent to the original minilzo code it was based on. Bytecode comparisons have also been made on ARM, i386 and x86_64 with favourable results. There are several users of LZO lined up including jffs2, crypto and reiser4 since its much faster than zlib. Signed-off-by: Nitin Gupta <nitingupta910@gmail.com> Signed-off-by: Richard Purdie <rpurdie@openedhand.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/lzo/Makefile')
-rw-r--r--lib/lzo/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/lzo/Makefile b/lib/lzo/Makefile
new file mode 100644
index 0000000..e764116
--- /dev/null
+++ b/lib/lzo/Makefile
@@ -0,0 +1,5 @@
+lzo_compress-objs := lzo1x_compress.o
+lzo_decompress-objs := lzo1x_decompress.o
+
+obj-$(CONFIG_LZO_COMPRESS) += lzo_compress.o
+obj-$(CONFIG_LZO_DECOMPRESS) += lzo_decompress.o