ifeq ($(BR2_PACKAGE_MBEDTLS),y)
RTTY_DEPENDENCIES += mbedtls
-RTTY_CONF_OPTS += -DRTTY_USE_MBEDTLS=ON
+RTTY_CONF_OPTS += \
+ -DRTTY_SSL_SUPPORT=ON \
+ -DRTTY_USE_MBEDTLS=ON \
+ -DRTTY_USE_OPENSSL=OFF \
+ -DRTTY_USE_WOLFSSL=OFF
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
RTTY_DEPENDENCIES += host-pkgconf openssl
-RTTY_CONF_OPTS += -DRTTY_USE_OPENSSL=ON
+RTTY_CONF_OPTS += \
+ -DRTTY_SSL_SUPPORT=ON \
+ -DRTTY_USE_MBEDTLS=OFF \
+ -DRTTY_USE_OPENSSL=ON \
+ -DRTTY_USE_WOLFSSL=OFF
else ifeq ($(BR2_PACKAGE_WOLFSSL),y)
RTTY_DEPENDENCIES += wolfssl
-RTTY_CONF_OPTS += -DRTTY_USE_WOLFSSL=ON
+RTTY_CONF_OPTS += \
+ -DRTTY_SSL_SUPPORT=ON \
+ -DRTTY_USE_MBEDTLS=OFF \
+ -DRTTY_USE_OPENSSL=OFF \
+ -DRTTY_USE_WOLFSSL=ON
else
RTTY_CONF_OPTS += -DRTTY_SSL_SUPPORT=OFF
endif