package/inadyn: fix mbedtls support

Since commit 6bab22ca41 ("package/inadyn: bump to v2.10.0"), the
mbedtls condition is written as "$BR2_PACKAGE_MBEDTLS", which make
expands as the variable $B followed by "R2_PACKAGE_MBEDTLS", so the
condition is never true. Without OpenSSL and GnuTLS, inadyn was built
with --disable-ssl even when mbedtls was enabled.

In addition, inadyn uses GnuTLS by default and needs --enable-mbedtls
to use mbedtls, which was never passed.

Fix the condition and pass --enable-mbedtls.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Assisted-by: Claude:claude-opus-5
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 23d71bfd96)
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
Yegor Yefremov
2026-10-05 15:28:32 +02:00
committed by Raphaël Mélotte
parent 737f6f0222
commit 6d90c8f535

View File

@@ -15,7 +15,8 @@ INADYN_CONF_OPTS += --enable-openssl
INADYN_DEPENDENCIES += openssl
else ifeq ($(BR2_PACKAGE_GNUTLS),y)
INADYN_DEPENDENCIES += gnutls
else ifeq ($BR2_PACKAGE_MBEDTLS, y)
else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
INADYN_CONF_OPTS += --enable-mbedtls
INADYN_DEPENDENCIES += mbedtls
else
INADYN_CONF_OPTS += --disable-ssl