[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7287/8267] openssl10: modified the define cryptodev



commit 73a43b3ecc54c1fdc024e7603cc1ec1612a217b7
Author: Huang Qiyu <huangqy fnst cn fujitsu com>
Date:   Thu Aug 17 09:27:17 2017 +0800

    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>

 meta/recipes-connectivity/openssl/openssl10.inc    |    2 ++
 .../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 54cf459..19ccd18 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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]