summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-27 23:34:37 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-27 23:34:37 +0000
commit9e65aef3e5787f793935450bc296ccb68e513735 (patch)
treedef0dbfb0d50cf879249d04d4fa39109308fde26
parente88e20ffb24a30725e124e945a8970fe3e578455 (diff)
add nfs kernel server kmod package (patch from #1524)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6729 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/fs.mk11
-rw-r--r--target/linux/generic-2.4/config-template4
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