Skip to content

Commit

Permalink
sysutils/edk2: enable TPM on bhyve
Browse files Browse the repository at this point in the history
bhyve gained support for TPM emulation in the upcoming FreeBSD 14.0. The
firmware has to setup the TPM to make it useable for the OS.

Reviewed by:		manu
Approved by:		manu
Sponsored by:		Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D41868
  • Loading branch information
ckoehne committed Sep 15, 2023
1 parent 46375fd commit 37e614b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sysutils/edk2/Makefile
@@ -1,6 +1,6 @@
PORTNAME= edk2
PORTVERSION= g202308
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= sysutils

PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
Expand Down Expand Up @@ -115,7 +115,7 @@ ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= Bhyve only runs on x64
PLAT= bhyve
PLAT_ARCH= X64
PLAT_ARGS+= -D SECURE_BOOT_ENABLE=TRUE
PLAT_ARGS+= -D SECURE_BOOT_ENABLE=TRUE -D TPM2_ENABLE=TRUE
PLAT_TARGET= RELEASE
PLATFILE= OvmfPkg/Bhyve/BhyveX64.dsc
PLAT_RESULT= BhyveX64/${PLAT_TARGET}_GCC5/FV/BHYVE.fd
Expand Down

0 comments on commit 37e614b

Please sign in to comment.