mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
The intention was clearly that these ACPI bits would be included for
arm64, but MACHINE_ARCH there is aarch64 -- correct the minor typo to
build everything that should be there.
Fixes: c2e9c5bbf0 ("tpm: Refactor TIS and add a SPI attachment")
28 lines
531 B
Makefile
28 lines
531 B
Makefile
.PATH: ${SRCTOP}/sys/dev/tpm
|
|
|
|
KMOD= tpm
|
|
|
|
SRCS= bus_if.h device_if.h tpm_if.c tpm_if.h
|
|
SRCS+= opt_acpi.h opt_tpm.h
|
|
|
|
#Bus specific stuff.
|
|
.if ${MACHINE_ARCH:Namd64:Ni386} == ""
|
|
SRCS+= tpm.c
|
|
SRCS+= tpm_acpi.c tpm_isa.c
|
|
SRCS+= isa_if.h
|
|
.endif
|
|
|
|
#TPM 2.0
|
|
SRCS+= tpm20.c tpm_tis_core.c
|
|
.if defined(${OPT_FDT})
|
|
SRCS+= tpm_spibus.c tpm_tis_spibus.c spibus_if.h
|
|
.endif
|
|
.if ${MACHINE_ARCH:Namd64:Ni386:Naarch64} == ""
|
|
SRCS+= acpi_if.h
|
|
SRCS+= tpm_tis_acpi.c
|
|
SRCS+= tpm_crb.c
|
|
SRCS+= tpm_bus.c
|
|
CFLAGS+=-DDEV_ACPI
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|