]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfTpmLibs.dsc.inc
UefiPayloadPkg: Fix build error
[mirror_edk2.git] / OvmfPkg / OvmfTpmLibs.dsc.inc
1 ##
2 # SPDX-License-Identifier: BSD-2-Clause-Patent
3 ##
4
5 !if $(TPM2_ENABLE) == TRUE
6 !if $(TPM1_ENABLE) == TRUE
7 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
8 !endif
9 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
10 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibQemu/DxeTcg2PhysicalPresenceLib.inf
11 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
12 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
13 !else
14 Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
15 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
16 !endif