xref: /openbmc/linux/drivers/char/tpm/Makefile (revision a2871c62)
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
16a2871c62SJason Gunthorpeobj-$(CONFIG_TCG_TIS_I2C_ATMEL) += tpm_i2c_atmel.o
17aad628c1SPeter Hueweobj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o
184c336e4bSJason Gunthorpeobj-$(CONFIG_TCG_TIS_I2C_NUVOTON) += tpm_i2c_nuvoton.o
191da177e4SLinus Torvaldsobj-$(CONFIG_TCG_NSC) += tpm_nsc.o
201da177e4SLinus Torvaldsobj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o
21ebb81fdbSMarcel Selhorstobj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o
22132f7629SAshley Laiobj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o
232bfee22fSMathias Leblancobj-$(CONFIG_TCG_ST33_I2C) += tpm_i2c_stm_st33.o
24e2683957SDaniel De Graafobj-$(CONFIG_TCG_XEN) += xen-tpmfront.o
25