xref: /openbmc/qemu/backends/meson.build (revision a6caeee8)
1softmmu_ss.add([files(
2  'cryptodev-builtin.c',
3  'cryptodev.c',
4  'hostmem-ram.c',
5  'hostmem.c',
6  'rng-builtin.c',
7  'rng-egd.c',
8  'rng.c',
9  'confidential-guest-support.c',
10), numa])
11
12softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('rng-random.c'))
13softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('hostmem-file.c'))
14softmmu_ss.add(when: 'CONFIG_LINUX', if_true: files('hostmem-memfd.c'))
15if have_vhost_user
16  softmmu_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c'))
17endif
18softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c'))
19if have_vhost_user_crypto
20  softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c'))
21endif
22softmmu_ss.add(when: gio, if_true: files('dbus-vmstate.c'))
23softmmu_ss.add(when: 'CONFIG_SGX', if_true: files('hostmem-epc.c'))
24
25subdir('tpm')
26