From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from eddie.linux-mips.org ([148.251.95.138] helo=cvs.linux-mips.org) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1hxAFs-0002Gw-Gq for ptxdist@pengutronix.de; Mon, 12 Aug 2019 15:20:56 +0200 Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23990678AbfHLNU4Txhsy (ORCPT ); Mon, 12 Aug 2019 15:20:56 +0200 Date: Mon, 12 Aug 2019 15:20:38 +0200 From: Ladislav Michl Message-ID: <20190812132037.GC23382@lenoch> References: <20190812131914.GA23382@lenoch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190812131914.GA23382@lenoch> Subject: [ptxdist] [PATCH v2 2/3] gnutls: add cryptodev support List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Signed-off-by: Ladislav Michl --- Changes: -v2: None rules/gnutls.in | 7 +++++++ rules/gnutls.make | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/rules/gnutls.in b/rules/gnutls.in index e3427d6eb..c0f47b5cf 100644 --- a/rules/gnutls.in +++ b/rules/gnutls.in @@ -5,6 +5,7 @@ menuconfig GNUTLS select LIBTASN1 select NETTLE select GCCLIBS_CXX if GNUTLS_CXX + select CRYPTODEV if GNUTLS_CRYPTODEV prompt "gnutls " help GnuTLS is a secure communications library implementing the SSL, @@ -21,6 +22,12 @@ config GNUTLS_CXX bool prompt "install C++ runtime library" +config GNUTLS_CRYPTODEV + bool + prompt "enable cryptodev support" + help + Enable the BSD cryptodev engine even if we are not using BSD. + config GNUTLS_OPENSSL bool prompt "openssl compatibility" diff --git a/rules/gnutls.make b/rules/gnutls.make index caa5d8426..955d1f5b4 100644 --- a/rules/gnutls.make +++ b/rules/gnutls.make @@ -56,7 +56,7 @@ GNUTLS_CONF_OPT := \ --enable-dhe \ --enable-ecdhe \ --enable-gost \ - --disable-cryptodev \ + --$(call ptx/endis, PTXCONF_GNUTLS_CRYPTODEV)-cryptodev \ --enable-ocsp \ --$(call ptx/endis, PTXCONF_GNUTLS_OPENSSL)-openssl-compatibility \ --disable-tests \ -- 2.22.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de