NetworkPkg: Add RngLib mapping for LOONGARCH64

NetworkPkg will build failed on LOONGARCH64 platform, because
LOONGARCH64 don't support MdePkg/Library/BaseRngLib. So add
MdeModulePkg/Library/BaseRngLibTimerLib as BaseRngLib of
LOONGARCH64 platform.

Signed-off-by: Qihang Gao <gaoqihang@loongson.cn>
Cc: Chao Li <lichao@loongson.cn>
This commit is contained in:
Qihang Gao
2025-12-29 16:10:03 +08:00
committed by mergify[bot]
parent 85e2fef2a8
commit fe94475538
+3
View File
@@ -74,6 +74,9 @@
[LibraryClasses.RISCV64]
RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
[LibraryClasses.LOONGARCH64]
RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
[PcdsFeatureFlag]
gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE