summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2009-05-11 20:44:27 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2009-05-11 20:44:27 +0000
commit0ce9ef9060dd1545472b747736731232843d12fa (patch)
tree83e79b4aaca8609b664d73ecf1b136d82b34d811 /package
parent050d860d653574622f51ecb7aeaeda9492b76e80 (diff)
downloadmaster-31e0f0ae-0ce9ef9060dd1545472b747736731232843d12fa.tar.gz
master-31e0f0ae-0ce9ef9060dd1545472b747736731232843d12fa.tar.bz2
master-31e0f0ae-0ce9ef9060dd1545472b747736731232843d12fa.zip
Make nfs and xfs load again.
SVN-Revision: 15781
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/fs.mk32
1 files changed, 23 insertions, 9 deletions
diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk
index 85b8e1ab8c..0d35773170 100644
--- a/package/kernel/modules/fs.mk
+++ b/package/kernel/modules/fs.mk
@@ -221,6 +221,12 @@ define KernelPackage/fs-nfs-common
AUTOLOAD:=$(call AutoLoad,30,sunrpc lockd)
endef
+define KernelPackage/fs-nfs-common/2.6
+ KCONFIG+=CONFIG_SUNRPC_GSS
+ FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD=$(call AutoLoad,30,sunrpc lockd auth_rpcgss)
+endef
+
$(eval $(call KernelPackage,fs-nfs-common))
@@ -242,23 +248,30 @@ endef
$(eval $(call KernelPackage,fs-nfs))
+define KernelPackage/fs-exportfs
+ SUBMENU:=$(FS_MENU)
+ TITLE:=exportfs kernel server support
+ KCONFIG:=CONFIG_EXPORTFS
+ FILES=$(LINUX_DIR)/fs/exportfs/exportfs.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,20,exportfs)
+endef
+
+define KernelPackage/fs-exportfs/description
+ Kernel module for exportfs. Needed for some other modules.
+endef
+
+$(eval $(call KernelPackage,fs-exportfs))
+
+
define KernelPackage/fs-nfsd
SUBMENU:=$(FS_MENU)
TITLE:=NFS kernel server support
- DEPENDS:=kmod-fs-nfs-common
+ DEPENDS:=kmod-fs-nfs-common +kmod-fs-exportfs
KCONFIG:=CONFIG_NFSD
FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,40,nfsd)
endef
-define KernelPackage/fs-nfsd/2.6
- KCONFIG+=CONFIG_EXPORTFS \
- CONFIG_SUNRPC_GSS
- FILES+=$(LINUX_DIR)/fs/exportfs/exportfs.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD+=$(call AutoLoad,40,auth_rpcgss exportfs nfsd)
-endef
-
define KernelPackage/fs-nfsd/description
Kernel module for NFS kernel server support
endef
@@ -328,6 +341,7 @@ define KernelPackage/fs-xfs
SUBMENU:=$(FS_MENU)
TITLE:=XFS filesystem support
KCONFIG:=CONFIG_XFS_FS
+ DEPENDS:= +kmod-fs-exportfs
FILES:=$(LINUX_DIR)/fs/xfs/xfs.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,30,xfs)
endef