package/rtty: remove unnecessary cmake options
authorJianhui Zhao <zhaojh329@gmail.com>
Wed, 25 Mar 2020 07:27:02 +0000 (15:27 +0800)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 29 Mar 2020 19:52:48 +0000 (21:52 +0200)
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/rtty/rtty.mk

index 88599f66360f0427fd524a2ba3141779b78a29a9..5d1ef4a0919589abb8be64822e054426babd0b03 100644 (file)
@@ -12,25 +12,13 @@ RTTY_DEPENDENCIES = libev
 
 ifeq ($(BR2_PACKAGE_MBEDTLS),y)
 RTTY_DEPENDENCIES += mbedtls
-RTTY_CONF_OPTS += \
-       -DRTTY_SSL_SUPPORT=ON \
-       -DRTTY_USE_MBEDTLS=ON \
-       -DRTTY_USE_OPENSSL=OFF \
-       -DRTTY_USE_WOLFSSL=OFF
+RTTY_CONF_OPTS += -DRTTY_USE_MBEDTLS=ON
 else ifeq ($(BR2_PACKAGE_OPENSSL),y)
 RTTY_DEPENDENCIES += host-pkgconf openssl
-RTTY_CONF_OPTS += \
-       -DRTTY_SSL_SUPPORT=ON \
-       -DRTTY_USE_MBEDTLS=OFF \
-       -DRTTY_USE_OPENSSL=ON \
-       -DRTTY_USE_WOLFSSL=OFF
+RTTY_CONF_OPTS += -DRTTY_USE_OPENSSL=ON
 else ifeq ($(BR2_PACKAGE_WOLFSSL),y)
 RTTY_DEPENDENCIES += wolfssl
-RTTY_CONF_OPTS += \
-       -DRTTY_SSL_SUPPORT=ON \
-       -DRTTY_USE_MBEDTLS=OFF \
-       -DRTTY_USE_OPENSSL=OFF \
-       -DRTTY_USE_WOLFSSL=ON
+RTTY_CONF_OPTS += -DRTTY_USE_WOLFSSL=ON
 else
 RTTY_CONF_OPTS += -DRTTY_SSL_SUPPORT=OFF
 endif