Skip to content

Commit

Permalink
OvmfPkg/LoongArch: Enabling some base libraries
Browse files Browse the repository at this point in the history
BaseCryptLib, RngLib, IntrinsicLib and OpensslLib are enabled by default
on LoongArch VM, since some APPs or OS require them.

Cc: Ard Biesheuvel <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Signed-off-by: Chao Li <[email protected]>
  • Loading branch information
kilaterlee committed Dec 23, 2024
1 parent 868f666 commit cd44da2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd44da2

Please sign in to comment.