aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2025-11-15 02:22:11 +0000
committerKyle Evans <kevans@FreeBSD.org>2025-11-15 02:22:15 +0000
commitc490bc73eb68556bc44da9893af9be48a360de8c (patch)
tree4db853050eb788efebb455551849c903bb3ca3e9
parentcca34aa1d005ffc859704331a3221b8c506d2f06 (diff)
tpm: fix the conditional for the arm64 build
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: c2e9c5bbf0229 ("tpm: Refactor TIS and add a SPI attachment")
-rw-r--r--sys/modules/tpm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/tpm/Makefile b/sys/modules/tpm/Makefile
index d929649d40fe..e7a87a22d2ed 100644
--- a/sys/modules/tpm/Makefile
+++ b/sys/modules/tpm/Makefile
@@ -17,7 +17,7 @@ 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:Narm64} == ""
+.if ${MACHINE_ARCH:Namd64:Ni386:Naarch64} == ""
SRCS+= acpi_if.h
SRCS+= tpm_tis_acpi.c
SRCS+= tpm_crb.c