blob: 4d85dd681b81e0528212bf5b596d945da8f6b2da [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
Jason Gunthorpe000a07b2013-11-26 13:30:41 -07005tpm-y := tpm-interface.o tpm-dev.o tpm-sysfs.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
Leendert van Doorn27084ef2006-04-22 02:38:03 -070015obj-$(CONFIG_TCG_TIS) += tpm_tis.o
Jason Gunthorpea2871c62013-10-06 12:43:36 -060016obj-$(CONFIG_TCG_TIS_I2C_ATMEL) += tpm_i2c_atmel.o
Peter Hueweaad628c2012-08-07 11:42:32 +020017obj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o
Jason Gunthorpe4c336e42013-10-06 12:43:13 -060018obj-$(CONFIG_TCG_TIS_I2C_NUVOTON) += tpm_i2c_nuvoton.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070019obj-$(CONFIG_TCG_NSC) += tpm_nsc.o
20obj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o
Marcel Selhorstebb81fd2005-07-27 11:45:12 -070021obj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o
Ashley Lai132f7622012-08-22 16:17:43 -050022obj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o
Mathias Leblanc2bfee222012-11-14 15:31:44 +010023obj-$(CONFIG_TCG_ST33_I2C) += tpm_i2c_stm_st33.o
Daniel De Graafe2683952013-07-30 13:29:47 -040024obj-$(CONFIG_TCG_XEN) += xen-tpmfront.o