summaryrefslogtreecommitdiffstats
path: root/hw/block/dataplane
diff options
context:
space:
mode:
authorMarc-André Lureau2019-08-17 09:30:59 +0200
committerPaolo Bonzini2020-08-21 12:30:32 +0200
commit6bcb5d96654ecbf74feaa418412487a743051dcb (patch)
tree6776d4243a91bb5a3b5f91de6462750227738785 /hw/block/dataplane
parentmeson: convert hw/char (diff)
downloadqemu-6bcb5d96654ecbf74feaa418412487a743051dcb.tar.gz
qemu-6bcb5d96654ecbf74feaa418412487a743051dcb.tar.xz
qemu-6bcb5d96654ecbf74feaa418412487a743051dcb.zip
meson: convert hw/block
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/block/dataplane')
-rw-r--r--hw/block/dataplane/Makefile.objs2
-rw-r--r--hw/block/dataplane/meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/block/dataplane/Makefile.objs b/hw/block/dataplane/Makefile.objs
deleted file mode 100644
index 0c5270268e..0000000000
--- a/hw/block/dataplane/Makefile.objs
+++ /dev/null
@@ -1,2 +0,0 @@
-obj-$(CONFIG_VIRTIO_BLK) += virtio-blk.o
-obj-$(CONFIG_XEN) += xen-block.o
diff --git a/hw/block/dataplane/meson.build b/hw/block/dataplane/meson.build
new file mode 100644
index 0000000000..12c6a264f1
--- /dev/null
+++ b/hw/block/dataplane/meson.build
@@ -0,0 +1,2 @@
+specific_ss.add(when: 'CONFIG_VIRTIO_BLK', if_true: files('virtio-blk.c'))
+specific_ss.add(when: 'CONFIG_XEN', if_true: files('xen-block.c'))