mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
meson: use have_vhost_* variables to pick sources
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
2a3129a376
commit
43b6d7ee1f
8 changed files with 39 additions and 25 deletions
|
@ -264,7 +264,9 @@ qos_test_ss.add(
|
|||
if have_virtfs
|
||||
qos_test_ss.add(files('virtio-9p-test.c'))
|
||||
endif
|
||||
qos_test_ss.add(when: 'CONFIG_VHOST_USER', if_true: files('vhost-user-test.c'))
|
||||
if have_vhost_user
|
||||
qos_test_ss.add(files('vhost-user-test.c'))
|
||||
endif
|
||||
if have_tools and have_vhost_user_blk_server
|
||||
qos_test_ss.add(files('vhost-user-blk-test.c'))
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue