qemu-e2k/hw/tpm/Kconfig
Paolo Bonzini 7aaa6a1637 tpm: express dependencies with Kconfig
This automatically removes the TPM backends from the
binary altogether if no front-ends are selected.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-03-07 21:45:53 +01:00

25 lines
374 B
Plaintext

config TPMDEV
bool
depends on TPM
config TPM_TIS
bool
depends on TPM && ISA_BUS
select TPMDEV
config TPM_CRB
bool
depends on TPM && PC
select TPMDEV
config TPM_PASSTHROUGH
bool
default y
# FIXME: should check for x86 host as well
depends on TPMDEV && LINUX
config TPM_EMULATOR
bool
default y
depends on TPMDEV