[edk2-devel] [PATCH] Platform/Qemu/Sbsa: Fix build break due to need for RngLib

Andrew Goodbody andrew.goodbody at linaro.org
Mon Oct 5 11:26:58 UTC 2020


Commit b5701a4c7a0f ("CryptoPkg: OpensslLib: Use RngLib to generate
entropy in rand_pool") introduced RngLib dependency for OpensslLib
and caused QEMU platforms build to break for lack of an RngLib instance.

Add the reference to RngLib to the SbsaQemu.dsc file

Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>

---
 Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc b/Platform/Qemu/SbsaQemu/SbsaQemu.dsc
index d42b9cd4de..0e6d738bee 100644
--- a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc
+++ b/Platform/Qemu/SbsaQemu/SbsaQemu.dsc
@@ -141,6 +141,7 @@ DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
   #
   IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
   OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
+  RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
 
   #
-- 
2.18.4



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#65886): https://edk2.groups.io/g/devel/message/65886
Mute This Topic: https://groups.io/mt/77316343/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list