16bf7a3326
Since installation is not part of Makefiles anymore, Make need not know the directories anymore. Meson already knows them through built-in options, do everything using them instead of the config_host dictionary. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
15 lines
657 B
Meson
15 lines
657 B
Meson
if 'CONFIG_TOOLS' in config_host and 'CONFIG_VIRGL' in config_host \
|
|
and 'CONFIG_GBM' in config_host and 'CONFIG_LINUX' in config_host \
|
|
and pixman.found()
|
|
executable('vhost-user-gpu', files('vhost-user-gpu.c', 'virgl.c', 'vugbm.c'),
|
|
link_with: libvhost_user,
|
|
dependencies: [qemuutil, pixman, gbm, virgl],
|
|
install: true,
|
|
install_dir: get_option('libexecdir'))
|
|
|
|
configure_file(input: '50-qemu-gpu.json.in',
|
|
output: '50-qemu-gpu.json',
|
|
configuration: { 'libexecdir' : get_option('libexecdir') },
|
|
install_dir: qemu_datadir / 'vhost-user')
|
|
endif
|