Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/mongoose: add mbedtls support
Date: Sun, 13 Dec 2020 22:48:44 +0100	[thread overview]
Message-ID: <20201213214844.GM3281876@scaer> (raw)
In-Reply-To: <20201213095215.206459-1-fontaine.fabrice@gmail.com>

Fabrice, All,

On 2020-12-13 10:52 +0100, Fabrice Fontaine spake thusly:
> mbedtls is supported since version 6.7 and
> https://github.com/cesanta/mongoose/commit/65e01dbabc1f458af5ad8984f6eb5cb01ebae284
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  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
> -- 
> 2.29.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2020-12-13 21:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-13  9:52 [Buildroot] [PATCH 1/1] package/mongoose: add mbedtls support Fabrice Fontaine
2020-12-13 21:48 ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201213214844.GM3281876@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox