]> git.proxmox.com Git - mirror_edk2.git/commit - CryptoPkg/CryptoPkg.dec
CryptoPkg/OpensslLib: Update INF files to support OpenSSL-1.1.0x build
authorQin Long <qin.long@intel.com>
Thu, 23 Mar 2017 08:14:16 +0000 (16:14 +0800)
committerQin Long <qin.long@intel.com>
Wed, 29 Mar 2017 08:03:41 +0000 (16:03 +0800)
commit2c86774429f2e544fbed36f3cdd253eac56e34ab
tree66a956b2f1278d8691d9e2e62bf1e3c9b267c504
parent2ed235fc296b17ead0bebd670aa5bc891cf086cc
CryptoPkg/OpensslLib: Update INF files to support OpenSSL-1.1.0x build

Update OpensslLib INF files to support OpenSSL-1.1.0x source build.
The file list was generated from the latest OpenSSL-1.1.0e release.

Main changes to support OpensslLib build in this patch include:
1. Use "openssl" instead of "openssl-x.x.xx" as main source directory,
   Also update include path in CryptoPkg.dec
2. Enable warnings in GCC builds;
3. Update Visual Studio build options to silence current possible build
   warnings.
4. Move the default opensslconf.h to Include/openssl, and add one dummy
   dso_conf.h for native UEFI build.

The OpensslLib module build was validated as
  build -t VSXXXX -a XX -p CryptoPkg/CryptoPkg.dsc
        -m CryptoPkg/Library/OpensslLib/OpensslLib.inf

(NOTE: The extra build options for ARM/RVCT/XCODE were kept, which expect
       further optimizations from community)

Cc: Ting Ye <ting.ye@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Gary Lin <glin@suse.com>
Cc: Ronald Cron <ronald.cron@arm.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Qin Long <qin.long@intel.com>
Reviewed-by: Ting Ye <ting.ye@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Gary Lin <glin@suse.com>
CryptoPkg/CryptoPkg.dec
CryptoPkg/Include/OpenSslSupport.h
CryptoPkg/Include/internal/dso_conf.h [new file with mode: 0644]
CryptoPkg/Include/openssl/opensslconf.h [new file with mode: 0644]
CryptoPkg/Library/OpensslLib/OpensslLib.inf
CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
CryptoPkg/Library/OpensslLib/opensslconf.h [deleted file]