summaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/lib.mk
diff options
context:
space:
mode:
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 7c10f285f..b0970e696 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))