xref: /openbmc/linux/drivers/char/tpm/Makefile (revision 187eea0c)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the kernel tpm device drivers.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvaldsobj-$(CONFIG_TCG_TPM) += tpm.o
59deb0eb7SJason Gunthorpetpm-y := tpm-interface.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
1527084efeSLeendert van Doornobj-$(CONFIG_TCG_TIS) += tpm_tis.o
16aad628c1SPeter Hueweobj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o
171da177e4SLinus Torvaldsobj-$(CONFIG_TCG_NSC) += tpm_nsc.o
181da177e4SLinus Torvaldsobj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o
19ebb81fdbSMarcel Selhorstobj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o
20132f7629SAshley Laiobj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o
212bfee22fSMathias Leblancobj-$(CONFIG_TCG_ST33_I2C) += tpm_i2c_stm_st33.o
22e2683957SDaniel De Graafobj-$(CONFIG_TCG_XEN) += xen-tpmfront.o
23