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