[OE-core] [PATCH] openssl10: modified the define cryptodev
Huang Qiyu
huangqy.fnst at cn.fujitsu.com
Thu Aug 17 01:27:17 UTC 2017
Use PACKAGECONFIG to add cryptodev.
Signed-off-by: Huang Qiyu <huangqy.fnst at cn.fujitsu.com>
---
meta/recipes-connectivity/openssl/openssl10.inc | 2 ++
meta/recipes-connectivity/openssl/openssl10_1.0.2l.bb | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/openssl/openssl10.inc b/meta/recipes-connectivity/openssl/openssl10.inc
index c93d5d8..08fd22e 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 cf0459c..8c34ea6 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"
--
2.7.4
More information about the Openembedded-core
mailing list