* [Buildroot] [git commit] package/mongoose: add mbedtls support
@ 2020-12-13 21:47 Yann E. MORIN
0 siblings, 0 replies; only message in thread
From: Yann E. MORIN @ 2020-12-13 21:47 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=fe347897b81c546f82787fdc029bbc88c3731bad
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
mbedtls is supported since version 6.7 and
https://github.com/cesanta/mongoose/commit/65e01dbabc1f458af5ad8984f6eb5cb01ebae284
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
package/mongoose/mongoose.mk | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/package/mongoose/mongoose.mk b/package/mongoose/mongoose.mk
index 87f56d7894..5faeafb374 100644
--- a/package/mongoose/mongoose.mk
+++ b/package/mongoose/mongoose.mk
@@ -16,7 +16,14 @@ MONGOOSE_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_PACKAGE_OPENSSL),y)
MONGOOSE_DEPENDENCIES += openssl
-MONGOOSE_CFLAGS += -DMG_ENABLE_SSL
+MONGOOSE_CFLAGS += \
+ -DMG_ENABLE_SSL \
+ -DMG_SSL_IF=MG_SSL_IF_OPENSSL
+else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
+MONGOOSE_DEPENDENCIES += mbedtls
+MONGOOSE_CFLAGS += \
+ -DMG_ENABLE_SSL \
+ -DMG_SSL_IF=MG_SSL_IF_MBEDTLS
endif
define MONGOOSE_BUILD_CMDS
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-13 21:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-13 21:47 [Buildroot] [git commit] package/mongoose: add mbedtls support Yann E. MORIN
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.