kernel: add plan 9 fs package
9pfs is used by kvm to share files between host and guest, add proper config option to enable it. Signed-off-by: Matteo Croce <matteo.croce@canonical.com>
This commit is contained in:
committed by
Felix Fietkau
parent
dff6df9625
commit
1645abffea
@@ -26,6 +26,24 @@ endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-fscache))
|
||||
|
||||
define KernelPackage/fs-9p
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=Plan 9 Resource Sharing Support
|
||||
DEPENDS:=+kmod-9pnet
|
||||
KCONFIG:=\
|
||||
CONFIG_9P_FS \
|
||||
CONFIG_9P_FS_POSIX_ACL=n \
|
||||
CONFIG_9P_FS_SECURITY=n
|
||||
FILES:=$(LINUX_DIR)/fs/9p/9p.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,9p)
|
||||
endef
|
||||
|
||||
define KernelPackage/fs-9p/description
|
||||
Kernel module for Plan 9 Resource Sharing Support support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,fs-9p))
|
||||
|
||||
define KernelPackage/fs-afs
|
||||
SUBMENU:=$(FS_MENU)
|
||||
TITLE:=Andrew FileSystem client
|
||||
|
||||
@@ -1015,3 +1015,24 @@ define KernelPackage/mpls/description
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,mpls))
|
||||
|
||||
define KernelPackage/9pnet
|
||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||
TITLE:=Plan 9 Resource Sharing Support (9P2000)
|
||||
DEPENDS:=@VIRTIO_SUPPORT
|
||||
KCONFIG:= \
|
||||
CONFIG_NET_9P \
|
||||
CONFIG_NET_9P_DEBUG=n \
|
||||
CONFIG_NET_9P_VIRTIO
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/net/9p/9pnet.ko \
|
||||
$(LINUX_DIR)/net/9p/9pnet_virtio.ko
|
||||
AUTOLOAD:=$(call AutoLoad,29,9pnet 9pnet_virtio)
|
||||
endef
|
||||
|
||||
define KernelPackage/9pnet/description
|
||||
Kernel support support for
|
||||
Plan 9 resource sharing via the 9P2000 protocol.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,9pnet))
|
||||
|
||||
Reference in New Issue
Block a user