summaryrefslogtreecommitdiffstats
path: root/EmulatorPkg
diff options
context:
space:
mode:
authorGrzegorz Bernacki <gjb@semihalf.com>2021-08-02 12:46:27 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-08-03 07:26:41 +0000
commitb926956418f3e7b8e72dd4b6bcb35eef91ccf210 (patch)
tree40a122ed23450df861e23d2b805d082303f08802 /EmulatorPkg
parent3d427c5f839dd7c6983b25525888fb19125a75db (diff)
downloadedk2-b926956418f3e7b8e72dd4b6bcb35eef91ccf210.tar.gz
edk2-b926956418f3e7b8e72dd4b6bcb35eef91ccf210.tar.bz2
edk2-b926956418f3e7b8e72dd4b6bcb35eef91ccf210.zip
EmulatorPkg: add SecureBootVariableLib class resolution
The edk2 patch SecurityPkg: Create library for setting Secure Boot variables. moves generic functions from SecureBootConfigDxe and places them into SecureBootVariableLib. This patch adds SecureBootVariableLib mapping for EmulatorPkg. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com> Reviewed-by: Sunny Wang <sunny.wang@arm.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'EmulatorPkg')
-rw-r--r--EmulatorPkg/EmulatorPkg.dsc2
1 files changed, 2 insertions, 0 deletions
diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc
index 20e5468398..554c13ddb5 100644
--- a/EmulatorPkg/EmulatorPkg.dsc
+++ b/EmulatorPkg/EmulatorPkg.dsc
@@ -132,6 +132,8 @@
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
+ SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
+ SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
!else
AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
!endif