spapr_pci: add spapr msi read method
[qemu/ar7.git] / contrib / vhost-user-gpu / meson.build
blob2fc2320b52fe830f8c0f6d15fabad910fdae8d4b
1 if 'CONFIG_TOOLS' in config_host and 'CONFIG_VIRGL' in config_host \
2     and 'CONFIG_GBM' in config_host and 'CONFIG_LINUX' in config_host \
3     and pixman.found()
4   executable('vhost-user-gpu', files('vhost-user-gpu.c', 'virgl.c', 'vugbm.c'),
5              dependencies: [qemuutil, pixman, gbm, virgl, vhost_user],
6              install: true,
7              install_dir: get_option('libexecdir'))
9   configure_file(input: '50-qemu-gpu.json.in',
10                  output: '50-qemu-gpu.json',
11                  configuration: { 'libexecdir' : get_option('prefix') / get_option('libexecdir') },
12                  install_dir: qemu_datadir / 'vhost-user')
13 endif