blob: 34b4bcf46f43bc33d77bbf7e8c702d13f9a1616d [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the kernel tpm device drivers.
4#
5obj-$(CONFIG_TCG_TPM) += tpm.o
6tpm-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 \
8 tpm2-space.o
9tpm-$(CONFIG_ACPI) += tpm_ppi.o tpm_acpi.o
10tpm-$(CONFIG_OF) += tpm_of.o
11obj-$(CONFIG_TCG_TIS_CORE) += tpm_tis_core.o
12obj-$(CONFIG_TCG_TIS) += tpm_tis.o
13obj-$(CONFIG_TCG_TIS_SPI) += tpm_tis_spi.o
14obj-$(CONFIG_TCG_TIS_I2C_ATMEL) += tpm_i2c_atmel.o
15obj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o
16obj-$(CONFIG_TCG_TIS_I2C_NUVOTON) += tpm_i2c_nuvoton.o
17obj-$(CONFIG_TCG_NSC) += tpm_nsc.o
18obj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o
19obj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o
20obj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o
21obj-$(CONFIG_TCG_TIS_ST33ZP24) += st33zp24/
22obj-$(CONFIG_TCG_XEN) += xen-tpmfront.o
23obj-$(CONFIG_TCG_CRB) += tpm_crb.o
24obj-$(CONFIG_TCG_VTPM_PROXY) += tpm_vtpm_proxy.o