blob: 9567e5197f740f3c3b3ffeadc0495c928cd94399 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for the kernel tpm device drivers.
4#
5obj-$(CONFIG_TCG_TPM) += tpm.o
Tomas Winkler100b16a2018-10-19 21:22:49 +03006tpm-y := tpm-chip.o
7tpm-y += tpm-dev-common.o
8tpm-y += tpm-dev.o
9tpm-y += tpm-interface.o
Tomas Winklerb2d6e6de2018-10-19 21:22:50 +030010tpm-y += tpm1-cmd.o
Tomas Winkler100b16a2018-10-19 21:22:49 +030011tpm-y += tpm2-cmd.o
12tpm-y += tpmrm-dev.o
13tpm-y += tpm2-space.o
14tpm-y += tpm-sysfs.o
15tpm-y += eventlog/common.o
16tpm-y += eventlog/tpm1.o
17tpm-y += eventlog/tpm2.o
18
Thiebaud Weksteen0bfb2372018-04-12 12:13:48 +020019tpm-$(CONFIG_ACPI) += tpm_ppi.o eventlog/acpi.o
20tpm-$(CONFIG_EFI) += eventlog/efi.o
21tpm-$(CONFIG_OF) += eventlog/of.o
Christophe Ricard41a5e1c2016-05-19 00:35:52 +020022obj-$(CONFIG_TCG_TIS_CORE) += tpm_tis_core.o
Leendert van Doorn27084ef2006-04-22 02:38:03 -070023obj-$(CONFIG_TCG_TIS) += tpm_tis.o
Jarkko Sakkinenfaaca0a2020-02-04 14:16:27 +020024
25obj-$(CONFIG_TCG_TIS_SPI) += tpm_tis_spi.o
26tpm_tis_spi-y := tpm_tis_spi_main.o
27tpm_tis_spi-$(CONFIG_TCG_TIS_SPI_CR50) += tpm_tis_spi_cr50.o
28
Jason Gunthorpea2871c62013-10-06 12:43:36 -060029obj-$(CONFIG_TCG_TIS_I2C_ATMEL) += tpm_i2c_atmel.o
Peter Hueweaad628c2012-08-07 11:42:32 +020030obj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o
Jason Gunthorpe4c336e42013-10-06 12:43:13 -060031obj-$(CONFIG_TCG_TIS_I2C_NUVOTON) += tpm_i2c_nuvoton.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070032obj-$(CONFIG_TCG_NSC) += tpm_nsc.o
33obj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o
Marcel Selhorstebb81fd2005-07-27 11:45:12 -070034obj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o
Ashley Lai132f7622012-08-22 16:17:43 -050035obj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o
Christophe Ricardbf38b872015-03-08 11:17:14 +010036obj-$(CONFIG_TCG_TIS_ST33ZP24) += st33zp24/
Daniel De Graafe2683952013-07-30 13:29:47 -040037obj-$(CONFIG_TCG_XEN) += xen-tpmfront.o
Jarkko Sakkinen30fc8d12014-12-12 11:46:39 -080038obj-$(CONFIG_TCG_CRB) += tpm_crb.o
Stefan Berger6f996122016-04-18 13:26:15 -040039obj-$(CONFIG_TCG_VTPM_PROXY) += tpm_vtpm_proxy.o
Sasha Levin09e57482019-07-05 16:47:45 -040040obj-$(CONFIG_TCG_FTPM_TEE) += tpm_ftpm_tee.o