diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-05-18 14:23:01 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2018-05-22 16:30:43 +0200 |
commit | fe280ecbee11f91408eaac40efc1e18729518478 (patch) | |
tree | 043ff6fd7a006086d1ce9f9dee1588abee50d1f7 /OvmfPkg/OvmfPkgIa32X64.dsc | |
parent | 75135cc6988e7e7e84b7f3652f570bb8742841e0 (diff) | |
download | edk2-fe280ecbee11f91408eaac40efc1e18729518478.tar.gz edk2-fe280ecbee11f91408eaac40efc1e18729518478.tar.bz2 edk2-fe280ecbee11f91408eaac40efc1e18729518478.zip |
OvmfPkg: add Tcg2PhysicalPresenceLibNull when !TPM2_ENABLE
This NULL library will let us call
Tcg2PhysicalPresenceLibProcessRequest() unconditionally from
BdsPlatform when building without TPM2_ENABLE.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[lersek@redhat.com: replace MdeModulePkg.dec w/ MdePkg.dec]
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'OvmfPkg/OvmfPkgIa32X64.dsc')
-rw-r--r-- | OvmfPkg/OvmfPkgIa32X64.dsc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index 43158c5f06..62a6075a67 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -213,6 +213,8 @@ Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
+!else
+ Tcg2PhysicalPresenceLib|OvmfPkg/Library/Tcg2PhysicalPresenceLibNull/DxeTcg2PhysicalPresenceLib.inf
!endif
[LibraryClasses.common]
|