From 9e65aef3e5787f793935450bc296ccb68e513735 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 27 Mar 2007 23:34:37 +0000 Subject: [PATCH] add nfs kernel server kmod package (patch from #1524) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6729 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 74f2b78fd..a003e268e 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 1553111e8..37c6f24e9 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 -- 2.20.1