M7350/kernel/drivers/char/tpm/Makefile

25 lines
740 B
Makefile
Raw Normal View History

2024-09-09 08:52:07 +00:00
#
# Makefile for the kernel tpm device drivers.
#
obj-$(CONFIG_TCG_TPM) += tpm.o
2024-09-09 08:57:42 +00:00
tpm-y := tpm-interface.o tpm-dev.o tpm-sysfs.o
tpm-$(CONFIG_ACPI) += tpm_ppi.o
2024-09-09 08:52:07 +00:00
ifdef CONFIG_ACPI
2024-09-09 08:57:42 +00:00
tpm-y += tpm_eventlog.o tpm_acpi.o
else
ifdef CONFIG_TCG_IBMVTPM
tpm-y += tpm_eventlog.o tpm_of.o
endif
2024-09-09 08:52:07 +00:00
endif
obj-$(CONFIG_TCG_TIS) += tpm_tis.o
2024-09-09 08:57:42 +00:00
obj-$(CONFIG_TCG_TIS_I2C_ATMEL) += tpm_i2c_atmel.o
obj-$(CONFIG_TCG_TIS_I2C_INFINEON) += tpm_i2c_infineon.o
obj-$(CONFIG_TCG_TIS_I2C_NUVOTON) += tpm_i2c_nuvoton.o
2024-09-09 08:52:07 +00:00
obj-$(CONFIG_TCG_NSC) += tpm_nsc.o
obj-$(CONFIG_TCG_ATMEL) += tpm_atmel.o
obj-$(CONFIG_TCG_INFINEON) += tpm_infineon.o
2024-09-09 08:57:42 +00:00
obj-$(CONFIG_TCG_IBMVTPM) += tpm_ibmvtpm.o
obj-$(CONFIG_TCG_ST33_I2C) += tpm_i2c_stm_st33.o
obj-$(CONFIG_TCG_XEN) += xen-tpmfront.o