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:
Matteo Croce
2016-06-22 15:15:10 +02:00
committed by Felix Fietkau
parent dff6df9625
commit 1645abffea
5 changed files with 46 additions and 0 deletions

View File

@@ -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))