summaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules/lib.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-12-26 11:11:18 +0100
committerFelix Fietkau <nbd@nbd.name>2016-12-26 11:11:49 +0100
commitd109d03198b4ff31d2e4259228a49fa1b3f10390 (patch)
treef29fe95ccb87845f7f7e60e5486f9335e2db8299 /package/kernel/linux/modules/lib.mk
parent2e41b2c37a0e3efbc43c2d73dface331c5e35b4f (diff)
downloadmtk-20170518-d109d03198b4ff31d2e4259228a49fa1b3f10390.zip
mtk-20170518-d109d03198b4ff31d2e4259228a49fa1b3f10390.tar.gz
mtk-20170518-d109d03198b4ff31d2e4259228a49fa1b3f10390.tar.bz2
kernel: split kmod-lib-zlib into two packages to keep it in sync with kernel dependencies
Fixes build error on default config + selecting kmod-fs-isofs Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/linux/modules/lib.mk')
-rw-r--r--package/kernel/linux/modules/lib.mk26
1 files changed, 17 insertions, 9 deletions
diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk
index c5148ce..72c5eff 100644
--- a/package/kernel/linux/modules/lib.mk
+++ b/package/kernel/linux/modules/lib.mk
@@ -195,20 +195,28 @@ endef
$(eval $(call KernelPackage,lib-textsearch))
-define KernelPackage/lib-zlib
+define KernelPackage/lib-zlib-inflate
SUBMENU:=$(LIB_MENU)
TITLE:=Zlib support
HIDDEN:=1
- KCONFIG:= \
- CONFIG_ZLIB_DEFLATE \
- CONFIG_ZLIB_INFLATE
- FILES:= \
- $(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko \
- $(LINUX_DIR)/lib/zlib_inflate/zlib_inflate.ko
- AUTOLOAD:=$(call AutoProbe,zlib_deflate zlib_inflate)
+ KCONFIG:=CONFIG_ZLIB_INFLATE
+ FILES:=$(LINUX_DIR)/lib/zlib_inflate/zlib_inflate.ko
+ AUTOLOAD:=$(call AutoProbe,zlib_inflate)
+endef
+
+$(eval $(call KernelPackage,lib-zlib-inflate))
+
+
+define KernelPackage/lib-zlib-deflate
+ SUBMENU:=$(LIB_MENU)
+ TITLE:=Zlib support
+ HIDDEN:=1
+ KCONFIG:=CONFIG_ZLIB_DEFLATE
+ FILES:=$(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko
+ AUTOLOAD:=$(call AutoProbe,zlib_deflate)
endef
-$(eval $(call KernelPackage,lib-zlib))
+$(eval $(call KernelPackage,lib-zlib-deflate))
define KernelPackage/lib-cordic