aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-02-20 05:17:39 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-02-20 05:17:39 +0000
commitbabb67d87c4f53127b21b9ea720551a138099f13 (patch)
tree713f6fbf628db55d80edfe412ef771a1b71bf400 /package
parent37e505be46517d06d50144b7e6574edbd31a030f (diff)
downloadupstream-babb67d87c4f53127b21b9ea720551a138099f13.tar.gz
upstream-babb67d87c4f53127b21b9ea720551a138099f13.tar.bz2
upstream-babb67d87c4f53127b21b9ea720551a138099f13.zip
[package] kernel: make NFSv4 optional and add kmods for it - patch by Peter Wagner <tripolar@gmx.at>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19772 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/fs.mk21
1 files changed, 17 insertions, 4 deletions
diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk
index fc1bd17d0d..08d814d6ab 100644
--- a/package/kernel/modules/fs.mk
+++ b/package/kernel/modules/fs.mk
@@ -214,13 +214,26 @@ define KernelPackage/fs-nfs-common
AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd)
endef
-define KernelPackage/fs-nfs-common/2.6
- KCONFIG+=CONFIG_SUNRPC_GSS
+$(eval $(call KernelPackage,fs-nfs-common))
+
+
+define KernelPackage/fs-nfs-common-v4
+ SUBMENU:=$(FS_MENU)
+ TITLE:=Common NFS V4 filesystem modules
+ KCONFIG+=\
+ CONFIG_SUNRPC_GSS\
+ CONFIG_NFS_V4=y\
+ CONFIG_NFSD_V4=y
+ DEPENDS:= @LINUX_2_6 +kmod-fs-nfs-common
FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD=$(call AutoLoad,30,sunrpc lockd auth_rpcgss)
+ AUTOLOAD=$(call AutoLoad,30,auth_rpcgss)
endef
-$(eval $(call KernelPackage,fs-nfs-common))
+define KernelPackage/fs-nfs-common-v4/description
+ Kernel modules for NFS V4 & NFSD V4 kernel support
+endef
+
+$(eval $(call KernelPackage,fs-nfs-common-v4))
define KernelPackage/fs-nfs