summaryrefslogtreecommitdiff
path: root/drivers/vdpa/ifcvf/Makefile
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2020-03-31 22:15:14 +0300
committerMichael S. Tsirkin <mst@redhat.com>2020-04-02 17:41:40 +0300
commitc9b9f5f8c0f3cdb893cb86c168cdaa3aa5ed7278 (patch)
treeed96a8fe87994f9f9d9596c2f79ad3289abc969b /drivers/vdpa/ifcvf/Makefile
parent5a2414bc454e89e0515b47500734a65aa40cf9fe (diff)
downloadlinux-c9b9f5f8c0f3cdb893cb86c168cdaa3aa5ed7278.tar.xz
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/ifcvf/Makefile')
-rw-r--r--drivers/vdpa/ifcvf/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/vdpa/ifcvf/Makefile b/drivers/vdpa/ifcvf/Makefile
new file mode 100644
index 000000000000..d709915995ab
--- /dev/null
+++ b/drivers/vdpa/ifcvf/Makefile
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
+obj-$(CONFIG_IFCVF) += ifcvf.o
+ifcvf-$(CONFIG_IFCVF) += ifcvf_main.o ifcvf_base.o