summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-28 13:11:12 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-28 13:11:12 +0000
commit096a73e61318938b92cbb835677e2cd4416701f2 (patch)
treecbfde8c0c9e49e2cb730a8d27dd7464ff361c60e
parent00a1fec9dfaec8f76aa209994c6ede0744520438 (diff)
package/kernel: add kmod-lib-lzo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28654 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 4b9eed45e..6e805568d 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