From 096a73e61318938b92cbb835677e2cd4416701f2 Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 28 Oct 2011 13:11:12 +0000 Subject: [PATCH] package/kernel: add kmod-lib-lzo git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28654 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/lib.mk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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