All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/libwebsockets: add mbedtls optional dependency
Date: Thu, 21 Apr 2022 21:09:43 +0200	[thread overview]
Message-ID: <3c32712a-a150-c4ca-4acf-e84d88bdd2d7@mind.be> (raw)
In-Reply-To: <20220413204838.1172927-1-fontaine.fabrice@gmail.com>



On 13/04/2022 22:48, Fabrice Fontaine wrote:
> mbedtls is an optional dependency since version 2.4.0 and
> https://github.com/warmcat/libwebsockets/commit/3aaf38d3d89d0436301fe66d9a5c097ea4fb1064
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/libwebsockets/libwebsockets.mk | 13 +++++++++++--
>   1 file changed, 11 insertions(+), 2 deletions(-)
> 
> diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk
> index 152659cee6..f8093b92fa 100644
> --- a/package/libwebsockets/libwebsockets.mk
> +++ b/package/libwebsockets/libwebsockets.mk
> @@ -27,9 +27,18 @@ endif
>   
>   ifeq ($(BR2_PACKAGE_OPENSSL),y)
>   LIBWEBSOCKETS_DEPENDENCIES += openssl host-openssl
> -LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=ON
> +LIBWEBSOCKETS_CONF_OPTS += \
> +	-DLWS_WITH_SSL=ON \
> +	-DLWS_WITH_MBEDTLS=OFF
> +else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
> +LIBWEBSOCKETS_DEPENDENCIES += mbedtls
> +LIBWEBSOCKETS_CONF_OPTS += \
> +	-DLWS_WITH_SSL=ON \
> +	-DLWS_WITH_MBEDTLS=ON
>   else
> -LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=OFF
> +LIBWEBSOCKETS_CONF_OPTS += \
> +	-DLWS_WITH_SSL=OFF \
> +	-DLWS_WITH_MBEDTLS=OFF
>   endif
>   
>   ifeq ($(BR2_PACKAGE_LIBEV),y)
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-04-21 19:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-13 20:48 [Buildroot] [PATCH 1/1] package/libwebsockets: add mbedtls optional dependency Fabrice Fontaine
2022-04-21 19:09 ` Arnout Vandecappelle [this message]
2022-05-24  8:14 ` Peter Korsgaard

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=3c32712a-a150-c4ca-4acf-e84d88bdd2d7@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    /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 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.