]> code.ossystems Code Review - openembedded-core.git/commitdiff
openssl: Add cryptodev-linux PACKAGECONFIG
authorOvidiu Panait <ovidiu.panait@windriver.com>
Mon, 4 Mar 2019 11:38:45 +0000 (13:38 +0200)
committerArmin Kuster <akuster808@gmail.com>
Sat, 13 Apr 2019 18:46:54 +0000 (11:46 -0700)
The old bsd cryptodev engine was removed in
https://github.com/openssl/openssl/pull/3699
and the new one added in:
https://github.com/openssl/openssl/pull/3744

It can be enabled by configuring with "enable-devcryptoeng".

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-connectivity/openssl/openssl_1.1.1a.bb

index 75810ddd097792c30f7af55b2881bbd979c7d10c..fd376f7153b50355525363219f70c739f014a50e 100644 (file)
@@ -27,6 +27,12 @@ SRC_URI[sha256sum] = "fc20130f8b7cbd2fb918b2f14e2f429e109c31ddd0fb38fc5d71d9ffed
 
 inherit lib_package multilib_header ptest
 
+PACKAGECONFIG ?= ""
+PACKAGECONFIG_class-native = ""
+PACKAGECONFIG_class-nativesdk = ""
+
+PACKAGECONFIG[cryptodev-linux] = "enable-devcryptoeng,disable-devcryptoeng,cryptodev-linux"
+
 B = "${WORKDIR}/build"
 do_configure[cleandirs] = "${B}"