1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the kernel tpm device drivers.
5 obj-
$(CONFIG_TCG_TPM
) += tpm.o
6 tpm-y
:= tpm-interface.o tpm-dev.o tpm-sysfs.o tpm-chip.o tpm2-cmd.o \
7 tpm-dev-common.o tpmrm-dev.o tpm1_eventlog.o tpm2_eventlog.o \
9 tpm-
$(CONFIG_ACPI
) += tpm_ppi.o tpm_eventlog_acpi.o
10 tpm-
$(CONFIG_EFI
) += tpm_eventlog_efi.o
11 tpm-
$(CONFIG_OF
) += tpm_eventlog_of.o
12 obj-
$(CONFIG_TCG_TIS_CORE
) += tpm_tis_core.o
13 obj-
$(CONFIG_TCG_TIS
) += tpm_tis.o
14 obj-
$(CONFIG_TCG_TIS_SPI
) += tpm_tis_spi.o
15 obj-
$(CONFIG_TCG_TIS_I2C_ATMEL
) += tpm_i2c_atmel.o
16 obj-
$(CONFIG_TCG_TIS_I2C_INFINEON
) += tpm_i2c_infineon.o
17 obj-
$(CONFIG_TCG_TIS_I2C_NUVOTON
) += tpm_i2c_nuvoton.o
18 obj-
$(CONFIG_TCG_NSC
) += tpm_nsc.o
19 obj-
$(CONFIG_TCG_ATMEL
) += tpm_atmel.o
20 obj-
$(CONFIG_TCG_INFINEON
) += tpm_infineon.o
21 obj-
$(CONFIG_TCG_IBMVTPM
) += tpm_ibmvtpm.o
22 obj-
$(CONFIG_TCG_TIS_ST33ZP24
) += st33zp24
/
23 obj-
$(CONFIG_TCG_XEN
) += xen-tpmfront.o
24 obj-
$(CONFIG_TCG_CRB
) += tpm_crb.o
25 obj-
$(CONFIG_TCG_VTPM_PROXY
) += tpm_vtpm_proxy.o