[Buildroot] [PATCH 1/1] package/libcoap: add openssl and gnutls optional dependencies

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Apr 12 20:19:48 UTC 2020


On Thu, 13 Feb 2020 23:15:10 +0100
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> openssl and gnutls are optional dependencies since version 4.2.0 and
> https://github.com/obgm/libcoap/commit/4cef54f15190a42b6d3ad7a17ed71331e50a1bdf
> 
> Prefer gnutls over openssl has done by upstream in their configure.ac
> when the user does not provide any option (which is the case currently)
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  package/libcoap/libcoap.mk | 8 ++++++++
>  1 file changed, 8 insertions(+)

Instead of just handling them as optional dependencies, I slightly
improved your patch by handling --enable-dtls/--disable-dtls, which is
really what gnutls or openssl are used for. See:

  https://git.buildroot.org/buildroot/commit/?id=8b14f6b49b962d4d8f7135d85afa15658ea8f94b

So, your patch is basically applied to master, with some changes.
Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list