]> git.proxmox.com Git - mirror_edk2.git/commit
ArmVirtPkg: Cleanup redundant library class resolution of Variable modules
authorStar Zeng <star.zeng@intel.com>
Wed, 1 Jul 2015 03:10:27 +0000 (03:10 +0000)
committerlzeng14 <lzeng14@Edk2>
Wed, 1 Jul 2015 03:10:27 +0000 (03:10 +0000)
commit5e56fb35e76b8a1230e3be14cd42a0247b7aed85
tree694b527588d249cac962b251e7a0d7d4dd3b5525
parentad7a56e519890166741600eeacc08881b3383cb0
ArmVirtPkg: Cleanup redundant library class resolution of Variable modules

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
  }

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17769 6f19259b-4bc3-4df7-8a09-765794883524
ArmVirtPkg/ArmVirtQemu.dsc