Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the kernel tpm device drivers. |
| 4 | # |
| 5 | obj-$(CONFIG_TCG_TPM) += tpm.o |
Tomas Winkler | 100b16a | 2018-10-19 21:22:49 +0300 | [diff] [blame] | 6 | tpm-y := tpm-chip.o |
| 7 | tpm-y += tpm-dev-common.o |
| 8 | tpm-y += tpm-dev.o |
| 9 | tpm-y += tpm-interface.o |
Tomas Winkler | b2d6e6de | 2018-10-19 21:22:50 +0300 | [diff] [blame] | 10 | tpm-y += tpm1-cmd.o |
Tomas Winkler | 100b16a | 2018-10-19 21:22:49 +0300 | [diff] [blame] | 11 | tpm-y += tpm2-cmd.o |
| 12 | tpm-y += tpmrm-dev.o |
| 13 | tpm-y += tpm2-space.o |
| 14 | tpm-y += tpm-sysfs.o |
| 15 | tpm-y += eventlog/common.o |
| 16 | tpm-y += eventlog/tpm1.o |
| 17 | tpm-y += eventlog/tpm2.o |
| 18 | |
Thiebaud Weksteen | 0bfb237 | 2018-04-12 12:13:48 +0200 | [diff] [blame] | 19 | tpm-$(CONFIG_ACPI) += tpm_ppi.o eventlog/acpi.o |
| 20 | tpm-$(CONFIG_EFI) += eventlog/efi.o |
| 21 | tpm-$(CONFIG_OF) += eventlog/of.o |
Christophe Ricard | 41a5e1c | 2016-05-19 00:35:52 +0200 | [diff] [blame] | 22 | obj-$(CONFIG_TCG_TIS_CORE) += tpm_tis_core.o |
Leendert van Doorn | 27084ef | 2006-04-22 02:38:03 -0700 | [diff] [blame] | 23 | obj-$(CONFIG_TCG_TIS) += tpm_tis.o |
Jarkko Sakkinen | faaca0a | 2020-02-04 14:16:27 +0200 | [diff] [blame] | 24 | |
| 25 | obj-$(CONFIG_TCG_TIS_SPI) += tpm_tis_spi.o |
| 26 | tpm_tis_spi-y := tpm_tis_spi_main.o |
| 27 | tpm_tis_spi-$(CONFIG_TCG_TIS_SPI_CR50) += tpm_tis_spi_cr50.o |
| 28 | |
Jason Gunthorpe | a2871c6 | 2013-10-06 12:43:36 -0600 | [diff] [blame] | 29 | obj-$(CONFIG_TCG_TIS_I2C_ATMEL) += tpm_i2c_atmel.o |
Peter Huewe | aad628c | 2012-08-07 11:42:32 +0200 | [diff] [blame] | 30 | obj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o |
Jason Gunthorpe | 4c336e4 | 2013-10-06 12:43:13 -0600 | [diff] [blame] | 31 | obj-$(CONFIG_TCG_TIS_I2C_NUVOTON) += tpm_i2c_nuvoton.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | obj-$(CONFIG_TCG_NSC) += tpm_nsc.o |
| 33 | obj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o |
Marcel Selhorst | ebb81fd | 2005-07-27 11:45:12 -0700 | [diff] [blame] | 34 | obj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o |
Ashley Lai | 132f762 | 2012-08-22 16:17:43 -0500 | [diff] [blame] | 35 | obj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o |
Christophe Ricard | bf38b87 | 2015-03-08 11:17:14 +0100 | [diff] [blame] | 36 | obj-$(CONFIG_TCG_TIS_ST33ZP24) += st33zp24/ |
Daniel De Graaf | e268395 | 2013-07-30 13:29:47 -0400 | [diff] [blame] | 37 | obj-$(CONFIG_TCG_XEN) += xen-tpmfront.o |
Jarkko Sakkinen | 30fc8d1 | 2014-12-12 11:46:39 -0800 | [diff] [blame] | 38 | obj-$(CONFIG_TCG_CRB) += tpm_crb.o |
Stefan Berger | 6f99612 | 2016-04-18 13:26:15 -0400 | [diff] [blame] | 39 | obj-$(CONFIG_TCG_VTPM_PROXY) += tpm_vtpm_proxy.o |
Sasha Levin | 09e5748 | 2019-07-05 16:47:45 -0400 | [diff] [blame] | 40 | obj-$(CONFIG_TCG_FTPM_TEE) += tpm_ftpm_tee.o |