summaryrefslogtreecommitdiffstats
path: root/drivers/vdpa/Makefile
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2020-03-31 21:15:14 +0200
committerMichael S. Tsirkin <mst@redhat.com>2020-04-02 16:41:40 +0200
commitc9b9f5f8c0f3cdb893cb86c168cdaa3aa5ed7278 (patch)
treeed96a8fe87994f9f9d9596c2f79ad3289abc969b /drivers/vdpa/Makefile
parentvirtio: Intel IFC VF driver for VDPA (diff)
downloadlinux-c9b9f5f8c0f3cdb893cb86c168cdaa3aa5ed7278.tar.xz
linux-c9b9f5f8c0f3cdb893cb86c168cdaa3aa5ed7278.zip
vdpa: move to drivers/vdpa
We have both vhost and virtio drivers that depend on vdpa. It's easier to locate it at a top level directory otherwise we run into issues e.g. if vhost is built-in but virtio is modular. Let's just move it up a level. Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vdpa/Makefile')
-rw-r--r--drivers/vdpa/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/vdpa/Makefile b/drivers/vdpa/Makefile
new file mode 100644
index 000000000000..8bbb686ca7a2
--- /dev/null
+++ b/drivers/vdpa/Makefile
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
+obj-$(CONFIG_VDPA) += vdpa.o
+obj-$(CONFIG_VDPA_SIM) += vdpa_sim/
+obj-$(CONFIG_IFCVF) += ifcvf/