2
0

meson.build 952 B

1234567891011121314151617181920212223242526272829
  1. softmmu_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. softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('rng-random.c'))
  13. softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files('hostmem-file.c'))
  14. softmmu_ss.add(when: 'CONFIG_LINUX', if_true: files('hostmem-memfd.c'))
  15. if keyutils.found()
  16. softmmu_ss.add(keyutils, files('cryptodev-lkcf.c'))
  17. endif
  18. if have_vhost_user
  19. softmmu_ss.add(when: 'CONFIG_VIRTIO', if_true: files('vhost-user.c'))
  20. endif
  21. softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost.c'))
  22. if have_vhost_user_crypto
  23. softmmu_ss.add(when: 'CONFIG_VIRTIO_CRYPTO', if_true: files('cryptodev-vhost-user.c'))
  24. endif
  25. softmmu_ss.add(when: gio, if_true: files('dbus-vmstate.c'))
  26. softmmu_ss.add(when: 'CONFIG_SGX', if_true: files('hostmem-epc.c'))
  27. subdir('tpm')