summaryrefslogtreecommitdiffstats
path: root/scsi
diff options
context:
space:
mode:
authorMarc-André Lureau2019-08-29 20:34:43 +0200
committerPaolo Bonzini2020-08-21 12:30:18 +0200
commit5e5733e5999bb10e34cbbe3eda95b3cc7ad27bde (patch)
tree39ee7d50b04dd34a9f81bcaba844f6f94d7ecb62 /scsi
parentmeson: convert chardev directory to Meson (tools part) (diff)
downloadqemu-5e5733e5999bb10e34cbbe3eda95b3cc7ad27bde.tar.gz
qemu-5e5733e5999bb10e34cbbe3eda95b3cc7ad27bde.tar.xz
qemu-5e5733e5999bb10e34cbbe3eda95b3cc7ad27bde.zip
meson: convert block
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scsi')
-rw-r--r--scsi/Makefile.objs4
-rw-r--r--scsi/meson.build4
2 files changed, 4 insertions, 4 deletions
diff --git a/scsi/Makefile.objs b/scsi/Makefile.objs
deleted file mode 100644
index bb8789cd8b..0000000000
--- a/scsi/Makefile.objs
+++ /dev/null
@@ -1,4 +0,0 @@
-block-obj-y += utils.o
-
-block-obj-$(CONFIG_LINUX) += pr-manager.o pr-manager-helper.o
-block-obj-$(call lnot,$(CONFIG_LINUX)) += pr-manager-stub.o
diff --git a/scsi/meson.build b/scsi/meson.build
new file mode 100644
index 0000000000..53f3a1f716
--- /dev/null
+++ b/scsi/meson.build
@@ -0,0 +1,4 @@
+block_ss.add(files('utils.c'))
+block_ss.add(when: 'CONFIG_LINUX',
+ if_true: files('pr-manager.c', 'pr-manager-helper.c'),
+ if_false: files('pr-manager-stub.c'))