1 2.PATH: ${SRCTOP}/sys/dev/tpm 3 4KMOD= tpm 5 6SRCS= bus_if.h device_if.h tpm_if.c tpm_if.h 7SRCS+= opt_acpi.h opt_tpm.h 8 9#Bus specific stuff. 10.if ${MACHINE_ARCH:Namd64:Ni386} == "" 11SRCS+= tpm.c 12SRCS+= tpm_acpi.c tpm_isa.c 13SRCS+= isa_if.h 14.endif 15 16#TPM 2.0 17SRCS+= tpm20.c tpm_tis_core.c 18.if defined(${OPT_FDT}) 19SRCS+= tpm_spibus.c tpm_tis_spibus.c spibus_if.h 20.endif 21.if ${MACHINE_ARCH:Namd64:Ni386:Narm64} == "" 22SRCS+= acpi_if.h 23SRCS+= tpm_tis_acpi.c 24SRCS+= tpm_crb.c 25.endif 26 27.include <bsd.kmod.mk> 28