]> git.proxmox.com Git - mirror_qemu.git/blob - backends/meson.build
Merge tag 'pull-loongarch-20240201' of https://gitlab.com/gaosong/qemu into staging
[mirror_qemu.git] / backends / meson.build
1 system_ss.add([files(
2 'cryptodev-builtin.c',
3 'cryptodev-hmp-cmds.c',
4 'cryptodev.c',
5 'hostmem-ram.c',
6 'hostmem.c',
7 'rng-builtin.c',
8 'rng-egd.c',
9 'rng.c',
10 'confidential-guest-support.c',
11 ), numa])
12
13 if host_os != 'windows'
14 system_ss.add(files('rng-random.c'))
15 system_ss.add(files('hostmem-file.c'))
16 endif
17 if host_os == 'linux'
18 system_ss.add(files('hostmem-memfd.c'))
19 endif
20 if keyutils.found()
21 system_ss.add(keyutils, files('cryptodev-lkcf.c'))
22 endif
23 if have_vhost_user
24 system_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c'))
25 endif
26 system_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c'))
27 system_ss.add(when: 'CONFIG_IOMMUFD', if_true: files('iommufd.c'))
28 if have_vhost_user_crypto
29 system_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c'))
30 endif
31 system_ss.add(when: gio, if_true: files('dbus-vmstate.c'))
32 system_ss.add(when: 'CONFIG_SGX', if_true: files('hostmem-epc.c'))
33
34 subdir('tpm')