blob: a385fb8c17de574322cecaf304f66c27a9163de6 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the kernel tpm device drivers.
3#
4obj-$(CONFIG_TCG_TPM) += tpm.o
Jarkko Sakkinen7a1d7e62014-12-12 11:46:38 -08005tpm-y := tpm-interface.o tpm-dev.o tpm-sysfs.o tpm-chip.o tpm2-cmd.o
Jason Gunthorpe187eea02013-10-02 22:51:09 -06006tpm-$(CONFIG_ACPI) += tpm_ppi.o
Jason Gunthorpe9deb0eb2013-10-06 12:00:51 -06007
Kylene Jo Hall55a82ab2006-01-08 01:03:15 -08008ifdef CONFIG_ACPI
Jason Gunthorpe187eea02013-10-02 22:51:09 -06009 tpm-y += tpm_eventlog.o tpm_acpi.o
Ashley Laic5df3922012-08-14 18:35:32 -050010else
11ifdef CONFIG_TCG_IBMVTPM
Jason Gunthorpe187eea02013-10-02 22:51:09 -060012 tpm-y += tpm_eventlog.o tpm_of.o
Ashley Laic5df3922012-08-14 18:35:32 -050013endif
Kylene Jo Hall55a82ab2006-01-08 01:03:15 -080014endif
Christophe Ricard41a5e1c2016-05-19 00:35:52 +020015obj-$(CONFIG_TCG_TIS_CORE) += tpm_tis_core.o
Leendert van Doorn27084ef2006-04-22 02:38:03 -070016obj-$(CONFIG_TCG_TIS) += tpm_tis.o
Christophe Ricard0edbfea2016-05-19 00:35:53 +020017obj-$(CONFIG_TCG_TIS_SPI) += tpm_tis_spi.o
Jason Gunthorpea2871c62013-10-06 12:43:36 -060018obj-$(CONFIG_TCG_TIS_I2C_ATMEL) += tpm_i2c_atmel.o
Peter Hueweaad628c2012-08-07 11:42:32 +020019obj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o
Jason Gunthorpe4c336e42013-10-06 12:43:13 -060020obj-$(CONFIG_TCG_TIS_I2C_NUVOTON) += tpm_i2c_nuvoton.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070021obj-$(CONFIG_TCG_NSC) += tpm_nsc.o
22obj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o
Marcel Selhorstebb81fd2005-07-27 11:45:12 -070023obj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o
Ashley Lai132f7622012-08-22 16:17:43 -050024obj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o
Christophe Ricardbf38b872015-03-08 11:17:14 +010025obj-$(CONFIG_TCG_TIS_ST33ZP24) += st33zp24/
Daniel De Graafe2683952013-07-30 13:29:47 -040026obj-$(CONFIG_TCG_XEN) += xen-tpmfront.o
Jarkko Sakkinen30fc8d12014-12-12 11:46:39 -080027obj-$(CONFIG_TCG_CRB) += tpm_crb.o
Stefan Berger6f996122016-04-18 13:26:15 -040028obj-$(CONFIG_TCG_VTPM_PROXY) += tpm_vtpm_proxy.o