]>
Commit | Line | Data |
---|---|---|
de6cd759 | 1 | system_ss.add([files( |
ab318051 | 2 | 'cryptodev-builtin.c', |
ef52091a | 3 | 'cryptodev-hmp-cmds.c', |
ab318051 MAL |
4 | 'cryptodev.c', |
5 | 'hostmem-ram.c', | |
6 | 'hostmem.c', | |
7 | 'rng-builtin.c', | |
8 | 'rng-egd.c', | |
9 | 'rng.c', | |
f91f9f25 | 10 | 'confidential-guest-support.c', |
ab318051 MAL |
11 | ), numa]) |
12 | ||
d0cda6f4 | 13 | if host_os != 'windows' |
dc495494 PB |
14 | system_ss.add(files('rng-random.c')) |
15 | system_ss.add(files('hostmem-file.c')) | |
16 | endif | |
d0cda6f4 | 17 | if host_os == 'linux' |
53e8868d PB |
18 | system_ss.add(files('hostmem-memfd.c')) |
19 | endif | |
39fff6f3 | 20 | if keyutils.found() |
de6cd759 | 21 | system_ss.add(keyutils, files('cryptodev-lkcf.c')) |
39fff6f3 | 22 | endif |
43b6d7ee | 23 | if have_vhost_user |
de6cd759 | 24 | system_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c')) |
43b6d7ee | 25 | endif |
de6cd759 | 26 | system_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c')) |
6e6d8ac6 | 27 | system_ss.add(when: 'CONFIG_IOMMUFD', if_true: files('iommufd.c')) |
43b6d7ee | 28 | if have_vhost_user_crypto |
de6cd759 | 29 | system_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c')) |
43b6d7ee | 30 | endif |
de6cd759 PMD |
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')) | |
ab318051 MAL |
33 | |
34 | subdir('tpm') |