All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/gauche: add optional mbedtls dependency
@ 2019-09-03 13:40 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2019-09-03 13:40 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=4035aca23937800de53b74e05c8a34ae85576703
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

mbedtls support has been added in version 0.9.6 with
https://github.com/shirok/Gauche/commit/d449f013fae79639bb300d783962328c6b6b1bd0

So enable it if mbedtls is enabled and always enable embedded axTLS
support to keep existing behavior

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/gauche/gauche.mk | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/package/gauche/gauche.mk b/package/gauche/gauche.mk
index 1f66e28de7..2a30a2b39a 100644
--- a/package/gauche/gauche.mk
+++ b/package/gauche/gauche.mk
@@ -16,6 +16,16 @@ GAUCHE_AUTORECONF = YES
 HOST_GAUCHE_CONF_OPTS = --without-zlib
 GAUCHE_CONF_OPTS = --without-libatomic-ops
 
+# Enable embedded axTLS
+GAUCHE_TLS_LIBS = axtls
+
+ifeq ($(BR2_PACKAGE_MBEDTLS),y)
+GAUCHE_TLS_LIBS += mbedtls
+GAUCHE_DEPENDENCIES += mbedtls
+endif
+
+GAUCHE_CONF_OPTS += --with-tls="$(GAUCHE_TLS_LIBS)"
+
 ifeq ($(BR2_PACKAGE_ZLIB),y)
 GAUCHE_CONF_OPTS += --with-zlib=$(STAGING_DIR)
 GAUCHE_DEPENDENCIES += zlib

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-03 13:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-03 13:40 [Buildroot] [git commit] package/gauche: add optional mbedtls dependency Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.