aboutsummaryrefslogtreecommitdiffstats
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 12:35:57 +0100
commitdddf15804f69757278abe175543e74332a978139 (patch)
tree14104895adc8a4194fdf9ec39a949dd5d00f7f7b
parentd8adf829f3fb58a41235f05c04ce700bf5d55ba7 (diff)
downloadopenembedded-core-contrib-dddf15804f69757278abe175543e74332a978139.tar.gz
openssl10: modified the define cryptodev
Use PACKAGECONFIG to add cryptodev. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 \
"
S = "${WORKDIR}/openssl-${PV}"
+PACKAGECONFIG ?= "cryptodev-linux"
PACKAGECONFIG[perl] = ",,,"
+PACKAGECONFIG[cryptodev-linux] = "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS,,cryptodev-linux"
TERMIO_libc-musl = "-DTERMIOS"
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
# For target side versions of openssl enable support for OCF Linux driver
# if they are available.
-DEPENDS += "cryptodev-linux"
CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS"
CFLAG_append_class-native = " -fPIC"