summaryrefslogtreecommitdiff
path: root/net/9p/Makefile
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2021-11-03 20:38:21 +0100
committerDominique Martinet <asmadeus@codewreck.org>2022-01-10 09:58:30 +0900
commit1c582c6dc4244d88f702dc3afd5b47225332edf6 (patch)
tree721791c320b35e6e17c1333b61a2664129d57e07 /net/9p/Makefile
parent90d6cf349c5604bd79f1191d09ff1be0165a0513 (diff)
9p/trans_fd: split into dedicated module
This allows these transports only to be used when needed. Link: https://lkml.kernel.org/r/20211103193823.111007-3-linux@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> [Dominique: Kconfig NET_9P_FD: -depends VIRTIO, +default NET_9P] Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'net/9p/Makefile')
-rw-r--r--net/9p/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/9p/Makefile b/net/9p/Makefile
index aa0a5641e5d0..1df9b344c30b 100644
--- a/net/9p/Makefile
+++ b/net/9p/Makefile
@@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_NET_9P) := 9pnet.o
+obj-$(CONFIG_NET_9P_FD) += 9pnet_fd.o
obj-$(CONFIG_NET_9P_XEN) += 9pnet_xen.o
obj-$(CONFIG_NET_9P_VIRTIO) += 9pnet_virtio.o
obj-$(CONFIG_NET_9P_RDMA) += 9pnet_rdma.o
@@ -9,9 +10,11 @@ obj-$(CONFIG_NET_9P_RDMA) += 9pnet_rdma.o
client.o \
error.o \
protocol.o \
- trans_fd.o \
trans_common.o \
+9pnet_fd-objs := \
+ trans_fd.o \
+
9pnet_virtio-objs := \
trans_virtio.o \