mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-30 08:04:10 +00:00
kernel: decouple 9P virtio from 9P net
General support for 9P is desirable on platforms without virtualization. This decouples the 9P general networking support for use on more platforms. Signed-off-by: Daniel Maslowski <info@orangecms.org>
This commit is contained in:
parent
6631599344
commit
c1206675a4
@ -1324,17 +1324,13 @@ $(eval $(call KernelPackage,mpls))
|
|||||||
define KernelPackage/9pnet
|
define KernelPackage/9pnet
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=Plan 9 Resource Sharing Support (9P2000)
|
TITLE:=Plan 9 Resource Sharing Support (9P2000)
|
||||||
DEPENDS:=@VIRTIO_SUPPORT
|
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_NET_9P \
|
CONFIG_NET_9P \
|
||||||
CONFIG_NET_9P_DEBUG=n \
|
CONFIG_NET_9P_DEBUG=n \
|
||||||
CONFIG_NET_9P_XEN=n \
|
|
||||||
CONFIG_NET_9P_VIRTIO \
|
|
||||||
CONFIG_NET_9P_FD=n@ge5.17
|
CONFIG_NET_9P_FD=n@ge5.17
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(LINUX_DIR)/net/9p/9pnet.ko \
|
$(LINUX_DIR)/net/9p/9pnet.ko
|
||||||
$(LINUX_DIR)/net/9p/9pnet_virtio.ko
|
AUTOLOAD:=$(call AutoLoad,29,9pnet)
|
||||||
AUTOLOAD:=$(call AutoLoad,29,9pnet 9pnet_virtio)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/9pnet/description
|
define KernelPackage/9pnet/description
|
||||||
@ -1344,6 +1340,25 @@ endef
|
|||||||
|
|
||||||
$(eval $(call KernelPackage,9pnet))
|
$(eval $(call KernelPackage,9pnet))
|
||||||
|
|
||||||
|
define KernelPackage/9pvirtio
|
||||||
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
|
TITLE:=Plan 9 Virtio Support
|
||||||
|
DEPENDS:=+kmod-9pnet @VIRTIO_SUPPORT
|
||||||
|
KCONFIG:= \
|
||||||
|
CONFIG_NET_9P_XEN=n \
|
||||||
|
CONFIG_NET_9P_VIRTIO
|
||||||
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/net/9p/9pnet_virtio.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,29,9pnet_virtio)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/9pvirtio/description
|
||||||
|
Kernel support support for
|
||||||
|
Plan 9 resource sharing for virtio.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,9pvirtio))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/nlmon
|
define KernelPackage/nlmon
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user