Perfect, thanks. I think BaseRngLib has an implementation for ARM or perhaps only AARCH64. I'm working one for RISCV64: https://bugzilla.tianocore.org/show_bug.cgi?id=3676
But until then this is good. Reviewed-by: Daniel Schaefer <[email protected]> On 11/3/21 11:05, Michael D Kinney wrote: > Fix NetworkPkg build breaks for ARM and RISCV64 by adding RngLib > mapping. > > Cc: Maciej Rabeda <[email protected]> > Cc: Jiaxin Wu <[email protected]> > Cc: Siyuan Fu <[email protected]> > Cc: Ard Biesheuvel <[email protected]> > Cc: Abner Chang <[email protected]> > Cc: Daniel Schaefer <[email protected]> > Signed-off-by: Michael D Kinney <[email protected]> > --- > NetworkPkg/NetworkPkg.dsc | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/NetworkPkg/NetworkPkg.dsc b/NetworkPkg/NetworkPkg.dsc > index cf2164aefe25..8691a0f5d07a 100644 > --- a/NetworkPkg/NetworkPkg.dsc > +++ b/NetworkPkg/NetworkPkg.dsc > @@ -79,6 +79,12 @@ [LibraryClasses.ARM, LibraryClasses.AARCH64] > 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 > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#83213): https://edk2.groups.io/g/devel/message/83213 Mute This Topic: https://groups.io/mt/86783673/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
