On 06/29/15 12:08, Star Zeng wrote: > SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf doesn't consume > BaseCryptLib directly or indirectly, cleanup it. > SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf { > <LibraryClasses> > BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf > } > > BaseCryptLib has been declared at [LibraryClasses.common.DXE_RUNTIME_DRIVER] > section in ArmVirt.dsc.inc. > OpensslLib has been declared at [LibraryClasses.common] > section in ArmVirt.dsc.inc. > So cleanup them. > SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf { > <LibraryClasses> > BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf > OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf > } > > Cc: Laszlo Ersek <ler...@redhat.com> > Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Star Zeng <star.z...@intel.com> > --- > ArmVirtPkg/ArmVirtQemu.dsc | 12 +++--------- > 1 file changed, 3 insertions(+), 9 deletions(-) > > diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc > index 374cf7a..d8eb796 100644 > --- a/ArmVirtPkg/ArmVirtQemu.dsc > +++ b/ArmVirtPkg/ArmVirtQemu.dsc > @@ -1,6 +1,7 @@ > # > # Copyright (c) 2011-2015, ARM Limited. All rights reserved. > # Copyright (c) 2014, Linaro Limited. All rights reserved. > +# Copyright (c) 2015, Intel Corporation. All rights reserved. > # > # This program and the accompanying materials > # are licensed and made available under the terms and conditions of the BSD > License > @@ -239,10 +240,7 @@ > ArmPkg/Drivers/CpuPei/CpuPei.inf > > !if $(SECURE_BOOT_ENABLE) == TRUE > - SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf { > - <LibraryClasses> > - BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf > - } > + SecurityPkg/VariableAuthenticated/Pei/VariablePei.inf > !else > MdeModulePkg/Universal/Variable/Pei/VariablePei.inf > !endif > @@ -271,11 +269,7 @@ > <LibraryClasses> > > NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf > } > - SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf { > - <LibraryClasses> > - BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf > - OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf > - } > + SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf > > SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf > !else > MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf >
Reviewed-by: Laszlo Ersek <ler...@redhat.com> ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel