package/rtty: remove unnecessary cmake options

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Jianhui Zhao 2020-03-25 15:27:02 +08:00 committed by Thomas Petazzoni
parent 75fbc58f3f
commit 7f169e6bc3

View File

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