summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Include/Dsc/OvmfTpmSecurityStub.dsc.inc
blob: 89455feca4d9379071a3a8bf216bb2b4f0b462fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
##
#    SPDX-License-Identifier: BSD-2-Clause-Patent
##

!if $(TPM2_ENABLE) == TRUE
!if $(TPM1_ENABLE) == TRUE
      NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
!endif
!endif

!if $(TPM2_ENABLE) == TRUE || $(CC_MEASUREMENT_ENABLE) == TRUE
      #
      # DxeTpm2MeasureBootLib provides security service of TPM2 measure boot and
      # Confidential Computing (CC) measure boot. It should be controlled by
      # TPM2_ENABLE and CC_MEASUREMENT_ENABLE
      #
      NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
!endif