[edk2-devel] [PATCH edk2-platforms 4/5] Armada7k8k: add null version RngLib

Wang, Jian J posted 5 patches 6 years, 2 months ago
[edk2-devel] [PATCH edk2-platforms 4/5] Armada7k8k: add null version RngLib
Posted by Wang, Jian J 6 years, 2 months ago
It's a prerequisite of removing dependency of TimerLib from OpensslLib.
RngLib will be used instead. To avoid build failure, add the null
instance of it in advance.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1871
Cc: Marcin Wojtas <mw@semihalf.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
---
 Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc b/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc
index 42f8bbba926c..b7cde5723bff 100644
--- a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc
+++ b/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc
@@ -20,6 +20,7 @@ [LibraryClasses.common]
 
 !if $(CAPSULE_ENABLE)
   OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
+  RngLib|MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf
   IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
   CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf
-- 
2.17.1.windows.2


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#50567): https://edk2.groups.io/g/devel/message/50567
Mute This Topic: https://groups.io/mt/55348022/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-