summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/OvmfTpmSecurityStub.dsc.inc
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/OvmfTpmSecurityStub.dsc.inc')
-rw-r--r--OvmfPkg/OvmfTpmSecurityStub.dsc.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/OvmfPkg/OvmfTpmSecurityStub.dsc.inc b/OvmfPkg/OvmfTpmSecurityStub.dsc.inc
index 4bd4066843..e9ab2fca7b 100644
--- a/OvmfPkg/OvmfTpmSecurityStub.dsc.inc
+++ b/OvmfPkg/OvmfTpmSecurityStub.dsc.inc
@@ -2,7 +2,9 @@
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
-!if $(TPM_ENABLE) == TRUE
+!if $(TPM2_ENABLE) == TRUE
+!if $(TPM1_ENABLE) == TRUE
NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
+!endif
NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
!endif