From: Ting Liu <[email protected]> add bbappend to use fsl own openssl source code which was tested
Signed-off-by: Ting Liu <[email protected]> --- .../openssl/openssl_1.0.1g.bbappend | 40 ++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 recipes-connectivity/openssl/openssl_1.0.1g.bbappend diff --git a/recipes-connectivity/openssl/openssl_1.0.1g.bbappend b/recipes-connectivity/openssl/openssl_1.0.1g.bbappend new file mode 100644 index 0000000..b86af36 --- /dev/null +++ b/recipes-connectivity/openssl/openssl_1.0.1g.bbappend @@ -0,0 +1,40 @@ +RDEPENDS_${PN}_class-target += "cryptodev-module" + +# base package is taken from Freescale repository +SRC_URI = "git://git.freescale.com/ppc/sdk/openssl.git;nobranch=1" +SRCREV = "9dfc18846063a110070782ede699c513b30257e5" + +SRC_URI += "file://configure-targets.patch \ + file://shared-libs.patch \ + file://oe-ldflags.patch \ + file://engines-install-in-libdir-ssl.patch \ + file://openssl-fix-link.patch \ + file://debian/version-script.patch \ + file://debian/pic.patch \ + file://debian/c_rehash-compat.patch \ + file://debian/ca.patch \ + file://debian/make-targets.patch \ + file://debian/no-rpath.patch \ + file://debian/man-dir.patch \ + file://debian/man-section.patch \ + file://debian/no-symbolic.patch \ + file://debian/debian-targets.patch \ + file://openssl_fix_for_x32.patch \ + file://openssl-fix-doc.patch \ + file://fix-cipher-des-ede3-cfb1.patch \ + file://openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch \ + file://openssl-avoid-NULL-pointer-dereference-in-dh_pub_encode.patch \ + file://initial-aarch64-bits.patch \ + file://find.pl \ + file://openssl-fix-des.pod-error.patch \ + " +S = "${WORKDIR}/git" + +# Digest offloading through cryptodev is not recommended because of the +# performance penalty of the Openssl engine interface. Openssl generates a huge +# number of calls to digest functions for even a small amount of work data. +# For example there are 70 calls to cipher code and over 10000 to digest code +# when downloading only 10 files of 700 bytes each. +# Do not build OpenSSL with cryptodev digest support until engine digest +# interface gets some rework: +CFLAG := "${@'${CFLAG}'.replace('-DUSE_CRYPTODEV_DIGESTS', '')}" -- 1.7.9.7 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
