The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=6a467c783d669854fdfd3fb817f8c9824c4f6fe6
commit 6a467c783d669854fdfd3fb817f8c9824c4f6fe6 Author: Warner Losh <i...@freebsd.org> AuthorDate: 2024-06-25 04:59:10 +0000 Commit: Warner Losh <i...@freebsd.org> CommitDate: 2024-06-25 05:34:59 +0000 tpm: Fix standalone build We're building ACPI, so we need -DDEV_ACPI on CFLAGS. Nomally, the kernel config brings this in, but there's no kernel directory for the standalone build. Sponsored by: Netflix --- sys/modules/tpm/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/modules/tpm/Makefile b/sys/modules/tpm/Makefile index c859e010b2d9..372c2dcad86b 100644 --- a/sys/modules/tpm/Makefile +++ b/sys/modules/tpm/Makefile @@ -23,6 +23,7 @@ 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>