kernel: add support for NFSv4
To: openwrt-devel@lists.openwrt.org This work is based on Daniel Colascione's submission to the OpenWrt devel mailing list on January 15th, 2014. I modified his patch so that it applied to the current OpenWrt Barrier Breaker tree. Signed-off-by: W. Michael Petullo <mike@flyn.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44162 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
43067a7e80
commit
7d01d821b0
|
@ -292,12 +292,24 @@ define KernelPackage/fs-nfs/description
|
||||||
Kernel module for NFS support
|
Kernel module for NFS support
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/fs-nfs/config
|
||||||
|
if PACKAGE_kmod-fs-nfs
|
||||||
|
config KERNEL_NFS_V4
|
||||||
|
bool "Support NFSv4 in NFS client"
|
||||||
|
depends on PACKAGE_kmod-fs-sunrpc-auth-rpcgss
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Select this option to support NFSv4 in the NFS server
|
||||||
|
endif
|
||||||
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,fs-nfs))
|
$(eval $(call KernelPackage,fs-nfs))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/fs-nfs-common
|
define KernelPackage/fs-nfs-common
|
||||||
SUBMENU:=$(FS_MENU)
|
SUBMENU:=$(FS_MENU)
|
||||||
TITLE:=Common NFS filesystem modules
|
TITLE:=Common NFS filesystem modules
|
||||||
|
DEPENDS:=+kmod-lib-oid-registry
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_LOCKD \
|
CONFIG_LOCKD \
|
||||||
CONFIG_SUNRPC
|
CONFIG_SUNRPC
|
||||||
|
@ -310,36 +322,40 @@ endef
|
||||||
$(eval $(call KernelPackage,fs-nfs-common))
|
$(eval $(call KernelPackage,fs-nfs-common))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/fs-nfs-common-v4
|
define KernelPackage/fs-sunrpc-auth-rpcgss
|
||||||
SUBMENU:=$(FS_MENU)
|
SUBMENU:=$(FS_MENU)
|
||||||
TITLE:=Common NFS V4 filesystem modules
|
TITLE:=GSS authentication for SUN RPC
|
||||||
KCONFIG+=\
|
DEPENDS:=+kmod-fs-nfs-common
|
||||||
CONFIG_SUNRPC_GSS\
|
KCONFIG:=CONFIG_SUNRPC_GSS
|
||||||
CONFIG_NFS_V4=y\
|
FILES:= \
|
||||||
CONFIG_NFSD_V4=y
|
$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko
|
||||||
DEPENDS:= @BROKEN
|
AUTOLOAD:=$(call AutoLoad,30,auth_rpcgss)
|
||||||
FILES+=$(LINUX_DIR)/net/sunrpc/auth_gss/auth_rpcgss.ko
|
|
||||||
AUTOLOAD=$(call AutoLoad,30,auth_rpcgss)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/fs-nfs-common-v4/description
|
$(eval $(call KernelPackage,fs-sunrpc-auth-rpcgss))
|
||||||
Kernel modules for NFS V4 & NFSD V4 kernel support
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call KernelPackage,fs-nfs-common-v4))
|
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/fs-nfsd
|
define KernelPackage/fs-nfsd
|
||||||
SUBMENU:=$(FS_MENU)
|
SUBMENU:=$(FS_MENU)
|
||||||
TITLE:=NFS kernel server support
|
TITLE:=NFS kernel server support
|
||||||
DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs
|
DEPENDS:=+kmod-fs-nfs-common +kmod-fs-exportfs +kmod-fs-sunrpc-auth-rpcgss
|
||||||
KCONFIG:= \
|
KCONFIG= \
|
||||||
CONFIG_NFSD \
|
CONFIG_NFSD \
|
||||||
CONFIG_NFSD_FAULT_INJECTION=n
|
CONFIG_NFSD_FAULT_INJECTION=n
|
||||||
FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
|
FILES:=$(LINUX_DIR)/fs/nfsd/nfsd.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,40,nfsd)
|
AUTOLOAD:=$(call AutoLoad,40,nfsd)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/fs-nfsd/config
|
||||||
|
if PACKAGE_kmod-fs-nfsd
|
||||||
|
config KERNEL_NFSD_V4
|
||||||
|
bool "Support NFSv4 in NFS server"
|
||||||
|
depends on PACKAGE_kmod-fs-sunrpc-auth-rpcgss
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Select this option to support NFSv4 in the NFS server
|
||||||
|
endif
|
||||||
|
endef
|
||||||
|
|
||||||
define KernelPackage/fs-nfsd/description
|
define KernelPackage/fs-nfsd/description
|
||||||
Kernel module for NFS kernel server support
|
Kernel module for NFS kernel server support
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -202,3 +202,18 @@ define KernelPackage/lib-cordic/description
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,lib-cordic))
|
$(eval $(call KernelPackage,lib-cordic))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/lib-oid-registry
|
||||||
|
SUBMENU:=$(LIB_MENU)
|
||||||
|
TITLE:=OID-Registry function support
|
||||||
|
KCONFIG:=CONFIG_OID_REGISTRY
|
||||||
|
FILES:=$(LINUX_DIR)/lib/oid_registry.ko
|
||||||
|
AUTOLOAD:=$(call AutoProbe,oid-registry)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/lib-oid-registry/description
|
||||||
|
Kernel module for OID-Registry function support
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,lib-oid-registry))
|
||||||
|
|
|
@ -967,3 +967,17 @@ define KernelPackage/rxrpc/description
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,rxrpc))
|
$(eval $(call KernelPackage,rxrpc))
|
||||||
|
|
||||||
|
define KernelPackage/dns-resolver
|
||||||
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
|
TITLE:=DNS-resolver modules
|
||||||
|
KCONFIG:=CONFIG_DNS_RESOLVER
|
||||||
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/net/dns_resolver/dns_resolver.ko
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/dns-resolver/description
|
||||||
|
Kernel modules for DNS-RESOLVER support
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,dns-resolver))
|
||||||
|
|
Loading…
Reference in New Issue