kernel: build support for NFSv4 in nfsd
authorW. Michael Petullo <mike@flyn.org>
Sun, 26 Aug 2018 06:31:31 +0000 (02:31 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Sep 2018 15:23:11 +0000 (17:23 +0200)
Signed-off-by: W. Michael Petullo <mike@flyn.org>
package/kernel/linux/modules/fs.mk

index 19524df73413e7ca33415bcf888a1cb6245146d0..4114659f3153a2d48861891dd4cfca5a0f2539aa 100644 (file)
@@ -439,9 +439,13 @@ $(eval $(call KernelPackage,fs-nfs-v4))
 define KernelPackage/fs-nfsd
   SUBMENU:=$(FS_MENU)
   TITLE:=NFS kernel server support
-  DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
+  DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs +kmod-fs-nfs-common-rpcsec
   KCONFIG:= \
        CONFIG_NFSD \
+       CONFIG_NFSD_V4=y \
+       CONFIG_NFSD_BLOCKLAYOUT=n \
+       CONFIG_NFSD_SCSILAYOUT=n \
+       CONFIG_NFSD_FLEXFILELAYOUT=n \
        CONFIG_NFSD_FAULT_INJECTION=n
   FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
   AUTOLOAD:=$(call AutoLoad,40,nfsd)