1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the kernel tpm device drivers.
5 obj-
$(CONFIG_TCG_TPM
) += tpm.o
7 tpm-y
+= tpm-dev-common.o
9 tpm-y
+= tpm-interface.o
15 tpm-y
+= eventlog
/common.o
16 tpm-y
+= eventlog
/tpm1.o
17 tpm-y
+= eventlog
/tpm2.o
19 tpm-
$(CONFIG_ACPI
) += tpm_ppi.o eventlog
/acpi.o
20 tpm-
$(CONFIG_EFI
) += eventlog
/efi.o
21 tpm-
$(CONFIG_OF
) += eventlog
/of.o
22 obj-
$(CONFIG_TCG_TIS_CORE
) += tpm_tis_core.o
23 obj-
$(CONFIG_TCG_TIS
) += tpm_tis.o
24 obj-
$(CONFIG_TCG_TIS_SYNQUACER
) += tpm_tis_synquacer.o
26 obj-
$(CONFIG_TCG_TIS_SPI
) += tpm_tis_spi.o
27 tpm_tis_spi-y
:= tpm_tis_spi_main.o
28 tpm_tis_spi-
$(CONFIG_TCG_TIS_SPI_CR50
) += tpm_tis_spi_cr50.o
30 obj-
$(CONFIG_TCG_TIS_I2C_ATMEL
) += tpm_i2c_atmel.o
31 obj-
$(CONFIG_TCG_TIS_I2C_INFINEON
) += tpm_i2c_infineon.o
32 obj-
$(CONFIG_TCG_TIS_I2C_NUVOTON
) += tpm_i2c_nuvoton.o
33 obj-
$(CONFIG_TCG_NSC
) += tpm_nsc.o
34 obj-
$(CONFIG_TCG_ATMEL
) += tpm_atmel.o
35 obj-
$(CONFIG_TCG_INFINEON
) += tpm_infineon.o
36 obj-
$(CONFIG_TCG_IBMVTPM
) += tpm_ibmvtpm.o
37 obj-
$(CONFIG_TCG_TIS_ST33ZP24
) += st33zp24
/
38 obj-
$(CONFIG_TCG_XEN
) += xen-tpmfront.o
39 obj-
$(CONFIG_TCG_CRB
) += tpm_crb.o
40 obj-
$(CONFIG_TCG_VTPM_PROXY
) += tpm_vtpm_proxy.o
41 obj-
$(CONFIG_TCG_FTPM_TEE
) += tpm_ftpm_tee.o