xref: /openbmc/qemu/backends/tpm/meson.build (revision 64ed6f92)
1tpm_ss = ss.source_set()
2
3tpm_ss.add(files('tpm_backend.c'))
4tpm_ss.add(files('tpm_util.c'))
5tpm_ss.add(when: 'CONFIG_TPM_PASSTHROUGH', if_true: files('tpm_passthrough.c'))
6tpm_ss.add(when: 'CONFIG_TPM_EMULATOR', if_true: files('tpm_emulator.c'))
7
8softmmu_ss.add_all(when: 'CONFIG_TPM', if_true: tpm_ss)
9