From: Huang Qiyu Date: Thu, 17 Aug 2017 01:27:17 +0000 (+0800) Subject: openssl10: modified the define cryptodev X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~20328 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dddf15804f69757278abe175543e74332a978139;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git openssl10: modified the define cryptodev Use PACKAGECONFIG to add cryptodev. Signed-off-by: Huang Qiyu Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-connectivity/openssl/openssl10.inc b/meta/recipes-connectivity/openssl/openssl10.inc index 54cf4598e1d..19ccd184944 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 cf0459c94b5..8c34ea60e5a 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"