X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/79d68345816aeeb1992c7f54792a6fe4740f1fa1..03dc915dfee96da180e7b8c34b75559355bd1de5:/package/kernel/modules/lib.mk diff --git a/package/kernel/modules/lib.mk b/package/kernel/modules/lib.mk index 7c10f285f..5fb779df7 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,08,zlib_deflate,1) +endef + +$(eval $(call KernelPackage,zlib))