2021-10-15 17:47:43 +03:00
|
|
|
if have_tools and virgl.found() and gbm.found() \
|
2021-07-13 14:09:02 +03:00
|
|
|
and 'CONFIG_LINUX' in config_host and pixman.found()
|
2019-07-12 21:23:46 +03:00
|
|
|
executable('vhost-user-gpu', files('vhost-user-gpu.c', 'virgl.c', 'vugbm.c'),
|
2021-03-12 13:00:43 +03:00
|
|
|
dependencies: [qemuutil, pixman, gbm, virgl, vhost_user, opengl],
|
2019-07-12 21:23:46 +03:00
|
|
|
install: true,
|
|
|
|
install_dir: get_option('libexecdir'))
|
|
|
|
|
|
|
|
configure_file(input: '50-qemu-gpu.json.in',
|
|
|
|
output: '50-qemu-gpu.json',
|
2020-11-03 14:23:33 +03:00
|
|
|
configuration: { 'libexecdir' : get_option('prefix') / get_option('libexecdir') },
|
2020-08-26 14:04:16 +03:00
|
|
|
install_dir: qemu_datadir / 'vhost-user')
|
2019-07-12 21:23:46 +03:00
|
|
|
endif
|