diff --git a/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc b/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc index 128fdd9d7e..921917d31c 100644 --- a/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc +++ b/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc @@ -156,6 +156,18 @@ FileExplorerLib | MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf ImagePropertiesRecordLib | MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.inf + # + # CryptoPkg libraries needed by multiple firmware features + # + IntrinsicLib | CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf +!if $(NETWORK_TLS_ENABLE) == TRUE + OpensslLib | CryptoPkg/Library/OpensslLib/OpensslLib.inf +!else + OpensslLib | CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf +!endif + BaseCryptLib | CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + RngLib | MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf + !if $(HTTP_BOOT_ENABLE) == TRUE HttpLib | MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf !endif