From 3651c9804b32db19fa2e2cfd41f7dec75d143d22 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 20 Feb 2010 05:17:39 +0000 Subject: kernel: make NFSv4 optional and add kmods for it - patch by Peter Wagner SVN-Revision: 19772 --- package/kernel/modules/fs.mk | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'package') 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 -- cgit v1.2.3