mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33: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
|
@ -319,6 +319,7 @@ have_vhost_kernel = 'CONFIG_VHOST_KERNEL' in config_host
|
|||
have_vhost_net_user = 'CONFIG_VHOST_NET_USER' in config_host
|
||||
have_vhost_net_vdpa = 'CONFIG_VHOST_NET_VDPA' in config_host
|
||||
have_vhost_net = 'CONFIG_VHOST_NET' in config_host
|
||||
have_vhost = have_vhost_user or have_vhost_vdpa or have_vhost_kernel
|
||||
have_vhost_user_crypto = 'CONFIG_VHOST_CRYPTO' in config_host
|
||||
|
||||
# Target-specific libraries and flags
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue