diff options
author | Huang Qiyu <huangqy.fnst@cn.fujitsu.com> | 2017-08-17 09:27:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-18 23:46:38 +0100 |
commit | 73a43b3ecc54c1fdc024e7603cc1ec1612a217b7 (patch) | |
tree | 39b472b3d17b7d9012ec451cb472f9289988f6ed /meta/recipes-connectivity/openssl | |
parent | a964a54ebf8fc9cbf6d842d0aacd32b3a819302c (diff) | |
download | poky-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/openssl')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10.inc | 2 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10_1.0.2l.bb | 1 |
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 | " |
16 | S = "${WORKDIR}/openssl-${PV}" | 16 | S = "${WORKDIR}/openssl-${PV}" |
17 | 17 | ||
18 | PACKAGECONFIG ?= "cryptodev-linux" | ||
18 | PACKAGECONFIG[perl] = ",,," | 19 | PACKAGECONFIG[perl] = ",,," |
20 | PACKAGECONFIG[cryptodev-linux] = "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS,,cryptodev-linux" | ||
19 | 21 | ||
20 | TERMIO_libc-musl = "-DTERMIOS" | 22 | TERMIO_libc-musl = "-DTERMIOS" |
21 | TERMIO ?= "-DTERMIO" | 23 | TERMIO ?= "-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. |
5 | DEPENDS += "cryptodev-linux" | ||
6 | 5 | ||
7 | CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" | 6 | CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" |
8 | CFLAG_append_class-native = " -fPIC" | 7 | CFLAG_append_class-native = " -fPIC" |