xref: /openbmc/linux/drivers/char/tpm/Makefile (revision 0bfb2374)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for the kernel tpm device drivers.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvaldsobj-$(CONFIG_TCG_TPM) += tpm.o
602ae1382SNayna Jaintpm-y := tpm-interface.o tpm-dev.o tpm-sysfs.o tpm-chip.o tpm2-cmd.o \
70bfb2374SThiebaud Weksteen	 tpm-dev-common.o tpmrm-dev.o eventlog/tpm1.o eventlog/tpm2.o \
8fdc915f7SJames Bottomley         tpm2-space.o
90bfb2374SThiebaud Weksteentpm-$(CONFIG_ACPI) += tpm_ppi.o eventlog/acpi.o
100bfb2374SThiebaud Weksteentpm-$(CONFIG_EFI) += eventlog/efi.o
110bfb2374SThiebaud Weksteentpm-$(CONFIG_OF) += eventlog/of.o
1241a5e1cfSChristophe Ricardobj-$(CONFIG_TCG_TIS_CORE) += tpm_tis_core.o
1327084efeSLeendert van Doornobj-$(CONFIG_TCG_TIS) += tpm_tis.o
140edbfea5SChristophe Ricardobj-$(CONFIG_TCG_TIS_SPI) += tpm_tis_spi.o
15a2871c62SJason Gunthorpeobj-$(CONFIG_TCG_TIS_I2C_ATMEL) += tpm_i2c_atmel.o
16aad628c1SPeter Hueweobj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o
174c336e4bSJason Gunthorpeobj-$(CONFIG_TCG_TIS_I2C_NUVOTON) += tpm_i2c_nuvoton.o
181da177e4SLinus Torvaldsobj-$(CONFIG_TCG_NSC) += tpm_nsc.o
191da177e4SLinus Torvaldsobj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o
20ebb81fdbSMarcel Selhorstobj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o
21132f7629SAshley Laiobj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o
22bf38b871SChristophe Ricardobj-$(CONFIG_TCG_TIS_ST33ZP24) += st33zp24/
23e2683957SDaniel De Graafobj-$(CONFIG_TCG_XEN) += xen-tpmfront.o
2430fc8d13SJarkko Sakkinenobj-$(CONFIG_TCG_CRB) += tpm_crb.o
256f99612eSStefan Bergerobj-$(CONFIG_TCG_VTPM_PROXY) += tpm_vtpm_proxy.o
26