summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2011-10-28 13:11:12 +0000
committerNicolas Thill <nico@openwrt.org>2011-10-28 13:11:12 +0000
commit340e50b3933a040943eec2ff9d2c130ab9a750f3 (patch)
tree80061e040c34baa39fd36283cf543545f9c59238 /package
parenta13f6a4b75f31140bf76a1ac9bb40e16e4542a2f (diff)
downloadmtk-20170518-340e50b3933a040943eec2ff9d2c130ab9a750f3.zip
mtk-20170518-340e50b3933a040943eec2ff9d2c130ab9a750f3.tar.gz
mtk-20170518-340e50b3933a040943eec2ff9d2c130ab9a750f3.tar.bz2
package/kernel: add kmod-lib-lzo
SVN-Revision: 28654
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/lib.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/kernel/modules/lib.mk b/package/kernel/modules/lib.mk
index 4b9eed4..6e80556 100644
--- a/package/kernel/modules/lib.mk
+++ b/package/kernel/modules/lib.mk
@@ -83,6 +83,25 @@ endef
$(eval $(call KernelPackage,libcrc32c))
+define KernelPackage/lib-lzo
+ SUBMENU:=$(LIB_MENU)
+ TITLE:=LZO library support
+ KCONFIG:= \
+ CONFIG_LZO_COMPRESS \
+ CONFIG_LZO_DECOMPRESS
+ FILES:= \
+ $(LINUX_DIR)/lib/lzo/lzo_compress.ko \
+ $(LINUX_DIR)/lib/lzo/lzo_decompress.ko
+ AUTOLOAD:=$(call AutoLoad,20, lzo_compress lzo_decompress,1)
+endef
+
+define KernelPackage/lib-lzo/description
+ Kernel module for LZO compression/decompression support
+endef
+
+$(eval $(call KernelPackage,lib-lzo))
+
+
define KernelPackage/textsearch
SUBMENU:=$(LIB_MENU)
TITLE:=Textsearch support is selected if needed