]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
openssl: Add cryptodev-linux PACKAGECONFIG
authorOvidiu Panait <ovidiu.panait@windriver.com>
Mon, 4 Mar 2019 11:38:45 +0000 (13:38 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Mar 2019 14:30:55 +0000 (14:30 +0000)
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>
meta/recipes-connectivity/openssl/openssl_1.1.1a.bb

index 02fd66910ea84e950cd18cac300c4c151ebc0de7..4a626a4fcdefa332520bebc883d97d419f63e9b7 100644 (file)
@@ -28,6 +28,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}"