meson: convert block

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Marc-André Lureau 2019-08-29 22:34:43 +04:00 committed by Paolo Bonzini
parent 848e8ff677
commit 5e5733e599
15 changed files with 231 additions and 106 deletions

View file

@ -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

4
scsi/meson.build Normal file
View file

@ -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'))