diff options
author | Chao Li <lichao@loongson.cn> | 2024-12-17 18:05:45 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-12-23 03:18:13 +0000 |
commit | b8f3199595d23c29433528a5207a6aa9fb368d44 (patch) | |
tree | 3287dbb0fcf025b79344b68b582e5211ac13c886 /OvmfPkg | |
parent | 2ece0790f7c23292bb29a0f8008d7fac947852ea (diff) | |
download | edk2-b8f3199595d23c29433528a5207a6aa9fb368d44.zip edk2-b8f3199595d23c29433528a5207a6aa9fb368d44.tar.gz edk2-b8f3199595d23c29433528a5207a6aa9fb368d44.tar.bz2 |
OvmfPkg/LoongArch: Enabling some base libraries
BaseCryptLib, RngLib, IntrinsicLib and OpensslLib are enabled by default
on LoongArch VM, since some APPs or OS require them.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
Diffstat (limited to 'OvmfPkg')
-rw-r--r-- | OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc b/OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc index 128fdd9..921917d 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
|