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
This commit is contained in:
Warner Losh 2024-06-24 22:59:10 -06:00
parent e6b88237c6
commit 6a467c783d

View file

@ -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>