aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/lib.mk
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>2011-04-12 23:18:53 +0000
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>2011-04-12 23:18:53 +0000
commit4f6f0cbe38ddeb948022e34c3be6b06f7661cf25 (patch)
tree902099cff8731e2fad9a76379517ed99e4226a7b /package/kernel/modules/lib.mk
parent0a0b8c621c2216925fa64207cfc225a0e8f7d409 (diff)
downloadupstream-4f6f0cbe38ddeb948022e34c3be6b06f7661cf25.tar.gz
upstream-4f6f0cbe38ddeb948022e34c3be6b06f7661cf25.tar.bz2
upstream-4f6f0cbe38ddeb948022e34c3be6b06f7661cf25.zip
kernel/modules: Add zlib package
SVN-Revision: 26636
Diffstat (limited to 'package/kernel/modules/lib.mk')
-rw-r--r--package/kernel/modules/lib.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kernel/modules/lib.mk b/package/kernel/modules/lib.mk
index 7c10f285f8..b0970e6965 100644
--- a/package/kernel/modules/lib.mk
+++ b/package/kernel/modules/lib.mk
@@ -100,3 +100,14 @@ SUBMENU:=$(LIB_MENU)
endef
$(eval $(call KernelPackage,textsearch))
+
+
+define KernelPackage/zlib
+ SUBMENU:=$(LIB_MENU)
+ TITLE:=zlib support is selected if needed
+ KCONFIG:=CONFIG_ZLIB_DEFLATE
+ FILES:=$(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko
+ AUTOLOAD:=$(call AutoLoad,20,zlib_deflate,1)
+endef
+
+$(eval $(call KernelPackage,zlib))