From 9198bbb303508800a55d9887ad940052f388a5cd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 27 Mar 2007 23:34:37 +0000 Subject: [PATCH] add nfs kernel server kmod package (patch from #1524) SVN-Revision: 6729 --- package/kernel/modules/fs.mk | 11 +++++++++++ target/linux/generic-2.4/config-template | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk index 74f2b78fd5..a003e268ec 100644 --- a/package/kernel/modules/fs.mk +++ b/package/kernel/modules/fs.mk @@ -89,6 +89,17 @@ define KernelPackage/fs-nfs endef $(eval $(call KernelPackage,fs-nfs)) +define KernelPackage/fs-nfsd + TITLE:=NFS kernel server support + DESCRIPTION:=Kernel module for NFS kernel server support + KCONFIG:=$(CONFIG_NFSD) + SUBMENU:=$(FSMENU) + AUTOLOAD:=$(call AutoLoad,30,nfsd) + FILES:= \ + $(MODULES_DIR)/kernel/fs/nfsd/nfsd.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,fs-nfsd)) + define KernelPackage/fs-msdos TITLE:=MSDOS filesystem support DESCRIPTION:=Kernel module for MSDOS filesystem support diff --git a/target/linux/generic-2.4/config-template b/target/linux/generic-2.4/config-template index 1553111e8b..37c6f24e90 100644 --- a/target/linux/generic-2.4/config-template +++ b/target/linux/generic-2.4/config-template @@ -498,9 +498,9 @@ CONFIG_NET_SCH_TEQL=m # CONFIG_NET_VENDOR_3COM is not set # CONFIG_NET_VENDOR_RACAL is not set # CONFIG_NET_VENDOR_SMC is not set -# CONFIG_NFSD is not set +CONFIG_NFSD=m +CONFIG_NFSD_V3=y # CONFIG_NFSD_TCP is not set -# CONFIG_NFSD_V3 is not set # CONFIG_NFS_DIRECTIO is not set CONFIG_NFS_FS=m CONFIG_NFS_V3=y