aboutsummaryrefslogtreecommitdiff
path: root/hw/block/dataplane
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-08-17 11:30:59 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-21 06:30:32 -0400
commit6bcb5d96654ecbf74feaa418412487a743051dcb (patch)
tree6776d4243a91bb5a3b5f91de6462750227738785 /hw/block/dataplane
parenta518e03cdba86079891d7faf57c928e01b323250 (diff)
downloadqemu-6bcb5d96654ecbf74feaa418412487a743051dcb.zip
qemu-6bcb5d96654ecbf74feaa418412487a743051dcb.tar.gz
qemu-6bcb5d96654ecbf74feaa418412487a743051dcb.tar.bz2
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 0c52702..0000000
--- 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 0000000..12c6a26
--- /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'))