kernel/modules: Add zlib package

SVN-Revision: 26636
owl
Vasilis Tsiligiannis 2011-04-12 23:18:53 +00:00
parent 0a0b8c621c
commit 4f6f0cbe38
2 changed files with 16 additions and 7 deletions

View File

@ -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. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -25,15 +25,13 @@ $(eval $(call KernelPackage,fs-autofs4))
define KernelPackage/fs-btrfs define KernelPackage/fs-btrfs
SUBMENU:=$(FS_MENU) SUBMENU:=$(FS_MENU)
TITLE:=BTRFS filesystem support TITLE:=BTRFS filesystem support
DEPENDS:=+kmod-libcrc32c DEPENDS:=+kmod-libcrc32c +kmod-zlib
KCONFIG:=\ KCONFIG:=\
CONFIG_BTRFS_FS \ CONFIG_BTRFS_FS \
CONFIG_BTRFS_FS_POSIX_ACL=n \ CONFIG_BTRFS_FS_POSIX_ACL=n
CONFIG_ZLIB_DEFLATE
FILES:=\ FILES:=\
$(LINUX_DIR)/fs/btrfs/btrfs.ko \ $(LINUX_DIR)/fs/btrfs/btrfs.ko
$(LINUX_DIR)/lib/zlib_deflate/zlib_deflate.ko AUTOLOAD:=$(call AutoLoad,30,btrfs,1)
AUTOLOAD:=$(call AutoLoad,30,zlib_deflate btrfs,1)
endef endef
define KernelPackage/fs-btrfs/description define KernelPackage/fs-btrfs/description

View File

@ -100,3 +100,14 @@ SUBMENU:=$(LIB_MENU)
endef endef
$(eval $(call KernelPackage,textsearch)) $(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))