[oe] [OE-core] [PATCH] openssl: By default, disable cryptodev.

Huang, Qiyu huangqy.fnst at cn.fujitsu.com
Wed Jul 26 05:20:24 UTC 2017


Sorry,I send this patch to wrong list. Please ignore.

huangqy
> -----Original Message-----
> From: Huang, Qiyu/黄 琦宇
> Sent: Wednesday, July 26, 2017 1:15 PM
> To: openembedded-devel at lists.openembedded.org
> Cc: Huang, Qiyu/黄 琦宇 <huangqy.fnst at cn.fujitsu.com>
> Subject: [OE-core] [PATCH] openssl: By default, disable cryptodev.
> 
> Because according to the other Distros,cryptodev is not enabled.
> If users want enable cryptodev, just have to add "cryptodev-linux" into
> PACKAGECONFIG.
> 
> Signed-off-by: Huang Qiyu <huangqy.fnst at cn.fujitsu.com>
> ---
>  meta/recipes-connectivity/openssl/openssl_1.0.2l.bb | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2l.bb
> b/meta/recipes-connectivity/openssl/openssl_1.0.2l.bb
> index c00dd81..7c8f18b 100644
> --- a/meta/recipes-connectivity/openssl/openssl_1.0.2l.bb
> +++ b/meta/recipes-connectivity/openssl/openssl_1.0.2l.bb
> @@ -2,10 +2,8 @@ require openssl.inc
> 
>  # For target side versions of openssl enable support for OCF Linux driver  # if
> they are available.
> -PACKAGECONFIG[cryptodev-linux] = ",,cryptodev-linux"
> -DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'cryptodev-linux',
> 'cryptodev-linux', '', d)}"
> -
> -CFLAG += "${@bb.utils.contains('PACKAGECONFIG', 'cryptodev-linux',
> '-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS', '', d)}"
> +PACKAGECONFIG[cryptodev-linux] = "-DHAVE_CRYPTODEV
> -DUSE_CRYPTODEV_DIGESTS,,cryptodev-linux"
> +CFLAG += "${PACKAGECONFIG_CONFARGS}"
> 
>  CFLAG_append_class-native = " -fPIC"
> 
> --
> 2.7.4





More information about the Openembedded-devel mailing list