]> git.proxmox.com Git - mirror_edk2.git/commit
CryptoPkg: Make EC source file config-able
authoryi1 li <yi1.li@intel.com>
Wed, 13 Apr 2022 07:02:02 +0000 (15:02 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 14 Apr 2022 03:16:59 +0000 (03:16 +0000)
commit0c901fcc200e411b78b9ca42d07d5ea4aaa13b21
tree6cf085b1e23d745d0548c1b6fdf6dc44a2a6a5bc
parentefc39e65e5db7396f5fc4b5e28631167c1a10965
CryptoPkg: Make EC source file config-able

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3679
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3828

Use PCD gEfiCryptoPkgTokenSpaceGuid.PcdEcEnabled to config-able
source files list in OpensslLib.inf and OpensslLibCrypto.inf.
If PcdEcEnabled equals to FALSE, this file will not be compiled.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Signed-off-by: yi1 li <yi1.li@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
CryptoPkg/CryptoPkg.dec
CryptoPkg/Library/Include/openssl/opensslconf.h
CryptoPkg/Library/OpensslLib/OpensslLib.inf
CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf