ustream-ssl: select polarssl as default variant, skip openssl/cyassl dependencies if unused

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42655
lede-17.01
Felix Fietkau 2014-09-23 10:41:24 +00:00
parent a62f0d02ec
commit 0b148a331b
1 changed files with 3 additions and 2 deletions

View File

@ -32,14 +32,14 @@ endef
define Package/libustream-openssl
$(Package/libustream/default)
TITLE += (openssl)
DEPENDS += +libopenssl
DEPENDS += +PACKAGE_libustream-openssl:libopenssl
VARIANT:=openssl
endef
define Package/libustream-cyassl
$(Package/libustream/default)
TITLE += (cyassl)
DEPENDS += +libcyassl
DEPENDS += +PACKAGE_libustream-cyassl:libcyassl
VARIANT:=cyassl
endef
@ -48,6 +48,7 @@ define Package/libustream-polarssl
TITLE += (polarssl)
DEPENDS += +libpolarssl
VARIANT:=polarssl
DEFAULT_VARIANT:=1
endef
ifeq ($(BUILD_VARIANT),cyassl)