Makefile 1019 B

1234567891011121314151617181920212223242526
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Makefile for the kernel tpm device drivers.
  4. #
  5. obj-$(CONFIG_TCG_TPM) += tpm.o
  6. tpm-y := tpm-interface.o tpm-dev.o tpm-sysfs.o tpm-chip.o tpm2-cmd.o \
  7. tpm-dev-common.o tpmrm-dev.o eventlog/common.o eventlog/tpm1.o \
  8. eventlog/tpm2.o tpm2-space.o
  9. tpm-$(CONFIG_ACPI) += tpm_ppi.o eventlog/acpi.o
  10. tpm-$(CONFIG_EFI) += eventlog/efi.o
  11. tpm-$(CONFIG_OF) += eventlog/of.o
  12. obj-$(CONFIG_TCG_TIS_CORE) += tpm_tis_core.o
  13. obj-$(CONFIG_TCG_TIS) += tpm_tis.o
  14. obj-$(CONFIG_TCG_TIS_SPI) += tpm_tis_spi.o
  15. obj-$(CONFIG_TCG_TIS_I2C_ATMEL) += tpm_i2c_atmel.o
  16. obj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o
  17. obj-$(CONFIG_TCG_TIS_I2C_NUVOTON) += tpm_i2c_nuvoton.o
  18. obj-$(CONFIG_TCG_NSC) += tpm_nsc.o
  19. obj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o
  20. obj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o
  21. obj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o
  22. obj-$(CONFIG_TCG_TIS_ST33ZP24) += st33zp24/
  23. obj-$(CONFIG_TCG_XEN) += xen-tpmfront.o
  24. obj-$(CONFIG_TCG_CRB) += tpm_crb.o
  25. obj-$(CONFIG_TCG_VTPM_PROXY) += tpm_vtpm_proxy.o