[Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL
edo.rus at gmail.com
Sat May 23 18:38:51 UTC 2020
On Mon, May 18, 2020 at 8:15 AM Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
> All what you're saying here is valid for a huge number of packages
> where Buildroot automatically makes use of optional dependencies if
> they are available.
> For example:
> ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
> LIBGTK3_CONF_OPTS += --enable-xrandr
> LIBGTK3_DEPENDENCIES += xlib_libXrandr
> LIBGTK3_CONF_OPTS += --disable-xrandr
> libgtk3 will automatically have xrandr support when
> BR2_PACKAGE_XLIB_LIBXRANDR is enabled. The user has no way to "know"
> about it, except by reading libgtk3.mk.
I agree, that looks reasonable. If someone wants xrandr support, he
But in the case of choosing openvpn crypto backend, I would prefer an
IMO mbed TLS should be the default option because it is much more compact.
But someone could choose OpenSSL because it is more mature.
BTW, I tried "select BR2_PACKAGE_MBEDTLS if !BR2_PACKAGE_OPENSSL", it
So I do not know how to make mbed TLS the default choice.
More information about the buildroot