xref: /openbmc/linux/drivers/char/tpm/Makefile (revision 0edbfea5)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the kernel tpm device drivers.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvaldsobj-$(CONFIG_TCG_TPM) += tpm.o
57a1d7e6dSJarkko Sakkinentpm-y := tpm-interface.o tpm-dev.o tpm-sysfs.o tpm-chip.o tpm2-cmd.o
6187eea0cSJason Gunthorpetpm-$(CONFIG_ACPI) += tpm_ppi.o
79deb0eb7SJason Gunthorpe
855a82ab3SKylene Jo Hallifdef CONFIG_ACPI
9187eea0cSJason Gunthorpe	tpm-y += tpm_eventlog.o tpm_acpi.o
10c5df3926SAshley Laielse
11c5df3926SAshley Laiifdef CONFIG_TCG_IBMVTPM
12187eea0cSJason Gunthorpe	tpm-y += tpm_eventlog.o tpm_of.o
13c5df3926SAshley Laiendif
1455a82ab3SKylene Jo Hallendif
1541a5e1cfSChristophe Ricardobj-$(CONFIG_TCG_TIS_CORE) += tpm_tis_core.o
1627084efeSLeendert van Doornobj-$(CONFIG_TCG_TIS) += tpm_tis.o
170edbfea5SChristophe Ricardobj-$(CONFIG_TCG_TIS_SPI) += tpm_tis_spi.o
18a2871c62SJason Gunthorpeobj-$(CONFIG_TCG_TIS_I2C_ATMEL) += tpm_i2c_atmel.o
19aad628c1SPeter Hueweobj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o
204c336e4bSJason Gunthorpeobj-$(CONFIG_TCG_TIS_I2C_NUVOTON) += tpm_i2c_nuvoton.o
211da177e4SLinus Torvaldsobj-$(CONFIG_TCG_NSC) += tpm_nsc.o
221da177e4SLinus Torvaldsobj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o
23ebb81fdbSMarcel Selhorstobj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o
24132f7629SAshley Laiobj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o
25bf38b871SChristophe Ricardobj-$(CONFIG_TCG_TIS_ST33ZP24) += st33zp24/
26e2683957SDaniel De Graafobj-$(CONFIG_TCG_XEN) += xen-tpmfront.o
2730fc8d13SJarkko Sakkinenobj-$(CONFIG_TCG_CRB) += tpm_crb.o
286f99612eSStefan Bergerobj-$(CONFIG_TCG_VTPM_PROXY) += tpm_vtpm_proxy.o
29