git: 4b7f99f39244 - stable/15 - tpm: fix the conditional for the arm64 build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Apr 2026 03:16:25 UTC
The branch stable/15 has been updated by kevans:
URL: https://cgit.FreeBSD.org/src/commit/?id=4b7f99f392448963327f6d39361a91429acd7e9b
commit 4b7f99f392448963327f6d39361a91429acd7e9b
Author: Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2025-11-15 02:22:11 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2026-04-12 03:15:09 +0000
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.
(cherry picked from commit c490bc73eb68556bc44da9893af9be48a360de8c)
---
sys/modules/tpm/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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