From e13e53cb2f5db2476625f44b6061ebc0dc5817fc Mon Sep 17 00:00:00 2001 From: Michael D Kinney Date: Mon, 1 Nov 2021 18:10:26 -0700 Subject: NetworkPkg/NetworkPkg.dsc: Add RngLib mapping for ARM and RISCV64 Fix NetworkPkg build breaks for ARM and RISCV64 by adding RngLib mapping. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Ard Biesheuvel Cc: Abner Chang Cc: Daniel Schaefer Signed-off-by: Michael D Kinney Reviewed-by: Daniel Schaefer Reviewed-by: Maciej Rabeda Acked-by: Abner Chang --- NetworkPkg/NetworkPkg.dsc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NetworkPkg') diff --git a/NetworkPkg/NetworkPkg.dsc b/NetworkPkg/NetworkPkg.dsc index cf2164aefe..8691a0f5d0 100644 --- a/NetworkPkg/NetworkPkg.dsc +++ b/NetworkPkg/NetworkPkg.dsc @@ -79,6 +79,12 @@ NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf +[LibraryClasses.ARM] + RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf + +[LibraryClasses.RISCV64] + RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf + [PcdsFeatureFlag] gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE -- cgit v1.2.3