summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorHuang Qiyu <huangqy.fnst@cn.fujitsu.com>2017-08-17 09:27:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-18 23:46:38 +0100
commit73a43b3ecc54c1fdc024e7603cc1ec1612a217b7 (patch)
tree39b472b3d17b7d9012ec451cb472f9289988f6ed /meta/recipes-connectivity
parenta964a54ebf8fc9cbf6d842d0aacd32b3a819302c (diff)
downloadpoky-73a43b3ecc54c1fdc024e7603cc1ec1612a217b7.tar.gz
openssl10: modified the define cryptodev
Use PACKAGECONFIG to add cryptodev. (From OE-Core rev: dddf15804f69757278abe175543e74332a978139) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/openssl/openssl10.inc2
-rw-r--r--meta/recipes-connectivity/openssl/openssl10_1.0.2l.bb1
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl10.inc b/meta/recipes-connectivity/openssl/openssl10.inc
index 54cf4598e1..19ccd18494 100644
--- a/meta/recipes-connectivity/openssl/openssl10.inc
+++ b/meta/recipes-connectivity/openssl/openssl10.inc
@@ -15,7 +15,9 @@ SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \
15 " 15 "
16S = "${WORKDIR}/openssl-${PV}" 16S = "${WORKDIR}/openssl-${PV}"
17 17
18PACKAGECONFIG ?= "cryptodev-linux"
18PACKAGECONFIG[perl] = ",,," 19PACKAGECONFIG[perl] = ",,,"
20PACKAGECONFIG[cryptodev-linux] = "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS,,cryptodev-linux"
19 21
20TERMIO_libc-musl = "-DTERMIOS" 22TERMIO_libc-musl = "-DTERMIOS"
21TERMIO ?= "-DTERMIO" 23TERMIO ?= "-DTERMIO"
diff --git a/meta/recipes-connectivity/openssl/openssl10_1.0.2l.bb b/meta/recipes-connectivity/openssl/openssl10_1.0.2l.bb
index cf0459c94b..8c34ea60e5 100644
--- a/meta/recipes-connectivity/openssl/openssl10_1.0.2l.bb
+++ b/meta/recipes-connectivity/openssl/openssl10_1.0.2l.bb
@@ -2,7 +2,6 @@ require openssl10.inc
2 2
3# For target side versions of openssl enable support for OCF Linux driver 3# For target side versions of openssl enable support for OCF Linux driver
4# if they are available. 4# if they are available.
5DEPENDS += "cryptodev-linux"
6 5
7CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" 6CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS"
8CFLAG_append_class-native = " -fPIC" 7CFLAG_append_class-native = " -fPIC"