xref: /openbmc/linux/drivers/char/tpm/Makefile (revision 41a5e1cf)
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
17a2871c62SJason Gunthorpeobj-$(CONFIG_TCG_TIS_I2C_ATMEL) += tpm_i2c_atmel.o
18aad628c1SPeter Hueweobj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o
194c336e4bSJason Gunthorpeobj-$(CONFIG_TCG_TIS_I2C_NUVOTON) += tpm_i2c_nuvoton.o
201da177e4SLinus Torvaldsobj-$(CONFIG_TCG_NSC) += tpm_nsc.o
211da177e4SLinus Torvaldsobj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o
22ebb81fdbSMarcel Selhorstobj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o
23132f7629SAshley Laiobj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o
24bf38b871SChristophe Ricardobj-$(CONFIG_TCG_TIS_ST33ZP24) += st33zp24/
25e2683957SDaniel De Graafobj-$(CONFIG_TCG_XEN) += xen-tpmfront.o
2630fc8d13SJarkko Sakkinenobj-$(CONFIG_TCG_CRB) += tpm_crb.o
276f99612eSStefan Bergerobj-$(CONFIG_TCG_VTPM_PROXY) += tpm_vtpm_proxy.o
28