1# 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-chip.o 7tpm-y += tpm-dev-common.o 8tpm-y += tpm-dev.o 9tpm-y += tpm-interface.o 10tpm-y += tpm1-cmd.o 11tpm-y += tpm2-cmd.o 12tpm-y += tpmrm-dev.o 13tpm-y += tpm2-space.o 14tpm-y += tpm-sysfs.o 15tpm-y += eventlog/common.o 16tpm-y += eventlog/tpm1.o 17tpm-y += eventlog/tpm2.o 18 19tpm-$(CONFIG_ACPI) += tpm_ppi.o eventlog/acpi.o 20tpm-$(CONFIG_EFI) += eventlog/efi.o 21tpm-$(CONFIG_OF) += eventlog/of.o 22obj-$(CONFIG_TCG_TIS_CORE) += tpm_tis_core.o 23obj-$(CONFIG_TCG_TIS) += tpm_tis.o 24obj-$(CONFIG_TCG_TIS_SPI) += tpm_tis_spi_mod.o 25tpm_tis_spi_mod-y := tpm_tis_spi.o 26tpm_tis_spi_mod-$(CONFIG_TCG_TIS_SPI_CR50) += tpm_tis_spi_cr50.o 27obj-$(CONFIG_TCG_TIS_I2C_ATMEL) += tpm_i2c_atmel.o 28obj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o 29obj-$(CONFIG_TCG_TIS_I2C_NUVOTON) += tpm_i2c_nuvoton.o 30obj-$(CONFIG_TCG_NSC) += tpm_nsc.o 31obj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o 32obj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o 33obj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o 34obj-$(CONFIG_TCG_TIS_ST33ZP24) += st33zp24/ 35obj-$(CONFIG_TCG_XEN) += xen-tpmfront.o 36obj-$(CONFIG_TCG_CRB) += tpm_crb.o 37obj-$(CONFIG_TCG_VTPM_PROXY) += tpm_vtpm_proxy.o 38obj-$(CONFIG_TCG_FTPM_TEE) += tpm_ftpm_tee.o 39