|
@@ -214,7 +214,15 @@
|
|
|
!endif
|
|
|
RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
|
|
|
|
|
|
+!if $(SECURE_BOOT_ENABLE) == TRUE
|
|
|
+ PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
|
|
|
+ AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
|
|
|
+ SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
|
|
|
+ PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
|
|
|
+ SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
|
|
|
+!else
|
|
|
AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
|
|
|
+!endif
|
|
|
VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
|
|
|
VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
|
|
|
VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
|
|
@@ -691,7 +699,14 @@
|
|
|
|
|
|
MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
|
|
|
|
|
- MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
|
|
+ MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
|
|
|
+ <LibraryClasses>
|
|
|
+!if $(SECURE_BOOT_ENABLE) == TRUE
|
|
|
+ NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
|
|
|
+!include OvmfPkg/OvmfTpmSecurityStub.dsc.inc
|
|
|
+!endif
|
|
|
+ }
|
|
|
+
|
|
|
MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
|
|
OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
|
|
|
UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
|
@@ -853,6 +868,11 @@
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
|
|
|
}
|
|
|
|
|
|
+!if $(SECURE_BOOT_ENABLE) == TRUE
|
|
|
+ SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
|
|
|
+ OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
|
|
|
+!endif
|
|
|
+
|
|
|
OvmfPkg/PlatformDxe/Platform.inf
|
|
|
OvmfPkg/IoMmuDxe/IoMmuDxe.inf
|
|
|
|