]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg: always resolve OpenSslLib, IntrinsicLib and BaseCryptLib
authorGary Lin <glin@suse.com>
Tue, 17 Jan 2017 04:52:30 +0000 (12:52 +0800)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 17 Jan 2017 09:25:03 +0000 (10:25 +0100)
commit6d0f8941bdc2900085e7c1ab06df5549c10b91dd
tree6a858710cc2801c6ef98005266d3ac377437d2ea
parent2b631390f9f5f6971c3c8a7f0f47160b80cf072b
OvmfPkg: always resolve OpenSslLib, IntrinsicLib and BaseCryptLib

This commit provides unconditional library resolutions for the OpenSslLib,
IntrinsicLib and BaseCryptLib classes, regardless of whether those classes
are actually used by any module.

Although those libraries depends on OpenSSL, they won't be built unless
a module really uses them. Thus, missing OpenSSL from the tree won't
cause any build failure as long as SECURE_BOOT_ENABLE is false.

(Based on Jiaxin's patch and Laszlo's suggestion)

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Justen Jordan L <jordan.l.justen@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Cc: Long Qin <qin.long@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg/OvmfPkgIa32X64.dsc
OvmfPkg/OvmfPkgX64.dsc