diff options
Diffstat (limited to 'recipes-connectivity/openssl/openssl-qoriq_1.0.2l.bb')
| -rw-r--r-- | recipes-connectivity/openssl/openssl-qoriq_1.0.2l.bb | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/recipes-connectivity/openssl/openssl-qoriq_1.0.2l.bb b/recipes-connectivity/openssl/openssl-qoriq_1.0.2l.bb new file mode 100644 index 000000000..a2346ba1d --- /dev/null +++ b/recipes-connectivity/openssl/openssl-qoriq_1.0.2l.bb | |||
| @@ -0,0 +1,69 @@ | |||
| 1 | require openssl-qoriq.inc | ||
| 2 | |||
| 3 | DISABLE_STATIC = "" | ||
| 4 | # For target side versions of openssl enable support for OCF Linux driver | ||
| 5 | # if they are available. | ||
| 6 | DEPENDS += "cryptodev-linux" | ||
| 7 | |||
| 8 | CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" | ||
| 9 | |||
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=057d9218c6180e1d9ee407572b2dd225" | ||
| 11 | |||
| 12 | export DIRS = "crypto ssl apps engines" | ||
| 13 | export OE_LDFLAGS="${LDFLAGS}" | ||
| 14 | |||
| 15 | SRC_URI += "file://find.pl;subdir=${BP}/util \ | ||
| 16 | file://run-ptest \ | ||
| 17 | file://openssl-c_rehash.sh \ | ||
| 18 | file://configure-targets.patch \ | ||
| 19 | file://shared-libs.patch \ | ||
| 20 | file://oe-ldflags.patch \ | ||
| 21 | file://engines-install-in-libdir-ssl.patch \ | ||
| 22 | file://debian1.0.2/block_diginotar.patch \ | ||
| 23 | file://debian1.0.2/block_digicert_malaysia.patch \ | ||
| 24 | file://debian/ca.patch \ | ||
| 25 | file://debian/c_rehash-compat.patch \ | ||
| 26 | file://debian/debian-targets.patch \ | ||
| 27 | file://debian/man-dir.patch \ | ||
| 28 | file://debian/man-section.patch \ | ||
| 29 | file://debian/no-rpath.patch \ | ||
| 30 | file://debian/no-symbolic.patch \ | ||
| 31 | file://debian/pic.patch \ | ||
| 32 | file://debian1.0.2/version-script.patch \ | ||
| 33 | file://debian1.0.2/soname.patch \ | ||
| 34 | file://openssl_fix_for_x32.patch \ | ||
| 35 | file://openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch \ | ||
| 36 | file://openssl-fix-des.pod-error.patch \ | ||
| 37 | file://Makefiles-ptest.patch \ | ||
| 38 | file://ptest-deps.patch \ | ||
| 39 | file://openssl-1.0.2a-x32-asm.patch \ | ||
| 40 | file://ptest_makefile_deps.patch \ | ||
| 41 | file://configure-musl-target.patch \ | ||
| 42 | file://parallel.patch \ | ||
| 43 | file://openssl-util-perlpath.pl-cwd.patch \ | ||
| 44 | file://Use-SHA256-not-MD5-as-default-digest.patch \ | ||
| 45 | file://0001-Fix-build-with-clang-using-external-assembler.patch \ | ||
| 46 | " | ||
| 47 | SRC_URI[md5sum] = "f85123cd390e864dfbe517e7616e6566" | ||
| 48 | SRC_URI[sha256sum] = "ce07195b659e75f4e1db43552860070061f156a98bb37b672b101ba6e3ddf30c" | ||
| 49 | |||
| 50 | SRC_URI += " \ | ||
| 51 | file://find.pl;subdir=openssl-${PV}/util/ \ | ||
| 52 | file://0001-remove-double-initialization-of-cryptodev-engine.patch \ | ||
| 53 | file://0002-eng_cryptodev-add-support-for-TLS-algorithms-offload.patch \ | ||
| 54 | " | ||
| 55 | |||
| 56 | PACKAGES =+ "${PN}-engines" | ||
| 57 | FILES_${PN}-engines = "${libdir}/ssl/engines/*.so ${libdir}/engines" | ||
| 58 | |||
| 59 | # The crypto_use_bigint patch means that perl's bignum module needs to be | ||
| 60 | # installed, but some distributions (for example Fedora 23) don't ship it by | ||
| 61 | # default. As the resulting error is very misleading check for bignum before | ||
| 62 | # building. | ||
| 63 | do_configure_prepend() { | ||
| 64 | if ! perl -Mbigint -e true; then | ||
| 65 | bbfatal "The perl module 'bignum' was not found but this is required to build openssl. Please install this module (often packaged as perl-bignum) and re-run bitbake." | ||
| 66 | fi | ||
| 67 | } | ||
| 68 | |||
| 69 | COMPATIBLE_MACHINE = "(qoriq)" | ||
