summaryrefslogtreecommitdiff
path: root/package
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
parent0a0b8c621c2216925fa64207cfc225a0e8f7d409 (diff)
downloadmtk-20170518-4f6f0cbe38ddeb948022e34c3be6b06f7661cf25.zip
mtk-20170518-4f6f0cbe38ddeb948022e34c3be6b06f7661cf25.tar.gz
mtk-20170518-4f6f0cbe38ddeb948022e34c3be6b06f7661cf25.tar.bz2
kernel/modules: Add zlib package
SVN-Revision: 26636
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/fs.mk12
-rw-r--r--package/kernel/modules/lib.mk11
2 files changed, 16 insertions, 7 deletions
diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk
index c2ae551..8b619f7 100644
--- a/package/kernel/modules/fs.mk
+++ b/package/kernel/modules/fs.mk
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -25,15 +25,13 @@ $(eval $(call KernelPackage,fs-autofs4))
define KernelPackage/fs-btrfs
SUBMENU:=$(FS_MENU)
TITLE:=BTRFS filesystem support
- DEPENDS:=+kmod-libcrc32c
+ DEPENDS:=+kmod-libcrc32c +kmod-zlib
KCONFIG:=\
CONFIG_BTRFS_FS \
- CONFIG_BTRFS_FS_POSIX_ACL=n \
- CONFIG_ZLIB_DEFLATE
+ CONFIG_BTRFS_FS_POSIX_ACL=n
FILES:=\
- $(LINUX_DIR)/fs/btrfs/btrfs.ko \
- $(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko
- AUTOLOAD:=$(call AutoLoad,30,zlib_deflate btrfs,1)
+ $(LINUX_DIR)/fs/btrfs/btrfs.ko
+ AUTOLOAD:=$(call AutoLoad,30,btrfs,1)
endef
define KernelPackage/fs-btrfs/description
diff --git a/package/kernel/modules/lib.mk b/package/kernel/modules/lib.mk
index 7c10f28..b0970e6 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))