Add possibility, via PACKAGECONFIG variable, to enable cryptodev
(hardware crypto acceleration) for gnutls in a very similar way
as it is already present for openssl.

Signed-off-by: Federico Pellegrin <[email protected]>
---
 meta/recipes-support/gnutls/gnutls_3.7.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/gnutls/gnutls_3.7.1.bb 
b/meta/recipes-support/gnutls/gnutls_3.7.1.bb
index 350d0a018bd..6674542a77d 100644
--- a/meta/recipes-support/gnutls/gnutls_3.7.1.bb
+++ b/meta/recipes-support/gnutls/gnutls_3.7.1.bb
@@ -36,6 +36,7 @@ PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn2"
 PACKAGECONFIG[libtasn1] = 
"--with-included-libtasn1=no,--with-included-libtasn1,libtasn1"
 PACKAGECONFIG[p11-kit] = "--with-p11-kit,--without-p11-kit,p11-kit"
 PACKAGECONFIG[tpm] = "--with-tpm,--without-tpm,trousers"
+PACKAGECONFIG[cryptodev-linux] = 
"--enable-cryptodev,,cryptodev-linux,cryptodev-module"
 
 EXTRA_OECONF = " \
     --enable-doc \
-- 
2.26.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#53336): https://lists.yoctoproject.org/g/yocto/message/53336
Mute This Topic: https://lists.yoctoproject.org/mt/82477731/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to