summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-06-14 07:45:33 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-06-14 07:45:33 +0000
commit32a88f5fd1a1766a8d083b731fb87f2be79bf2bb (patch)
tree2510b0017dddee73d05dee8b871aad1cd33303ee
parent858653c8e955a255eb2cbf270cbaa1e6f198081a (diff)
downloadmtk-20170518-32a88f5fd1a1766a8d083b731fb87f2be79bf2bb.zip
mtk-20170518-32a88f5fd1a1766a8d083b731fb87f2be79bf2bb.tar.gz
mtk-20170518-32a88f5fd1a1766a8d083b731fb87f2be79bf2bb.tar.bz2
Also package exportfs for nfsd to work properly on 2.6 kernels (#1899)
SVN-Revision: 7627
-rw-r--r--package/kernel/modules/fs.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk
index f28c9ad..3e8cd7c 100644
--- a/package/kernel/modules/fs.mk
+++ b/package/kernel/modules/fs.mk
@@ -106,10 +106,19 @@ define KernelPackage/fs-nfsd
DESCRIPTION:=Kernel module for NFS kernel server support
KCONFIG:=$(CONFIG_NFSD)
SUBMENU:=$(FSMENU)
- AUTOLOAD:=$(call AutoLoad,30,nfsd)
FILES:= \
$(LINUX_DIR)/fs/nfsd/nfsd.$(LINUX_KMOD_SUFFIX)
endef
+
+define KernelPackage/fs-nfsd/2.4
+ AUTOLOAD:=$(call AutoLoad,30,nfsd)
+endef
+
+define KernelPackage/fs-nfsd/2.6
+ FILES+=$(LINUX_DIR)/fs/exportfs/exportfs.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,30,exportfs nfsd)
+endef
+
$(eval $(call KernelPackage,fs-nfsd))
define KernelPackage/fs-msdos