mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 05:36:10 +00:00
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:
parent
e6b88237c6
commit
6a467c783d
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue