xref: /linux/drivers/char/tpm/Makefile (revision 5cc467117e61272c522f5922b04dd984deb2411f)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for the kernel tpm device drivers.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvaldsobj-$(CONFIG_TCG_TPM) += tpm.o
6100b16a6STomas Winklertpm-y := tpm-chip.o
7100b16a6STomas Winklertpm-y += tpm-dev-common.o
8100b16a6STomas Winklertpm-y += tpm-dev.o
9100b16a6STomas Winklertpm-y += tpm-interface.o
10b2d6e6deSTomas Winklertpm-y += tpm1-cmd.o
11100b16a6STomas Winklertpm-y += tpm2-cmd.o
12100b16a6STomas Winklertpm-y += tpmrm-dev.o
13100b16a6STomas Winklertpm-y += tpm2-space.o
14100b16a6STomas Winklertpm-y += tpm-sysfs.o
15100b16a6STomas Winklertpm-y += eventlog/common.o
16100b16a6STomas Winklertpm-y += eventlog/tpm1.o
17100b16a6STomas Winklertpm-y += eventlog/tpm2.o
1817d89b2eSJames Bottomleytpm-y += tpm-buf.o
19*a61809a3SJarkko Sakkinentpm-y += tpm2-sessions.o
20100b16a6STomas Winkler
210bfb2374SThiebaud Weksteentpm-$(CONFIG_ACPI) += tpm_ppi.o eventlog/acpi.o
220bfb2374SThiebaud Weksteentpm-$(CONFIG_EFI) += eventlog/efi.o
230bfb2374SThiebaud Weksteentpm-$(CONFIG_OF) += eventlog/of.o
2441a5e1cfSChristophe Ricardobj-$(CONFIG_TCG_TIS_CORE) += tpm_tis_core.o
2527084efeSLeendert van Doornobj-$(CONFIG_TCG_TIS) += tpm_tis.o
26d5ae56a4SMasahisa Kojimaobj-$(CONFIG_TCG_TIS_SYNQUACER) += tpm_tis_synquacer.o
27faaca0a0SJarkko Sakkinen
28faaca0a0SJarkko Sakkinenobj-$(CONFIG_TCG_TIS_SPI) += tpm_tis_spi.o
29faaca0a0SJarkko Sakkinentpm_tis_spi-y := tpm_tis_spi_main.o
30faaca0a0SJarkko Sakkinentpm_tis_spi-$(CONFIG_TCG_TIS_SPI_CR50) += tpm_tis_spi_cr50.o
31faaca0a0SJarkko Sakkinen
323a253caaSDuncan Laurieobj-$(CONFIG_TCG_TIS_I2C_CR50) += tpm_tis_i2c_cr50.o
333a253caaSDuncan Laurie
34bbc23a07SAlexander Steffenobj-$(CONFIG_TCG_TIS_I2C) += tpm_tis_i2c.o
35a2871c62SJason Gunthorpeobj-$(CONFIG_TCG_TIS_I2C_ATMEL) += tpm_i2c_atmel.o
36aad628c1SPeter Hueweobj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o
374c336e4bSJason Gunthorpeobj-$(CONFIG_TCG_TIS_I2C_NUVOTON) += tpm_i2c_nuvoton.o
381da177e4SLinus Torvaldsobj-$(CONFIG_TCG_NSC) += tpm_nsc.o
391da177e4SLinus Torvaldsobj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o
40ebb81fdbSMarcel Selhorstobj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o
41132f7629SAshley Laiobj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o
42bf38b871SChristophe Ricardobj-$(CONFIG_TCG_TIS_ST33ZP24) += st33zp24/
43e2683957SDaniel De Graafobj-$(CONFIG_TCG_XEN) += xen-tpmfront.o
4430fc8d13SJarkko Sakkinenobj-$(CONFIG_TCG_CRB) += tpm_crb.o
456f99612eSStefan Bergerobj-$(CONFIG_TCG_VTPM_PROXY) += tpm_vtpm_proxy.o
4609e57483SSasha Levinobj-$(CONFIG_TCG_FTPM_TEE) += tpm_ftpm_tee.o
47