VARIANT:=cyassl
endef
-define Package/libustream-polarssl
- $(Package/libustream/default)
- TITLE += (polarssl)
- DEPENDS += +libpolarssl
- VARIANT:=polarssl
-endef
-
define Package/libustream-mbedtls
$(Package/libustream/default)
TITLE += (mbedtls)
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/cyassl -DHAVE_SNI
CMAKE_OPTIONS += -DCYASSL=on
endif
-ifeq ($(BUILD_VARIANT),polarssl)
- CMAKE_OPTIONS += -DPOLARSSL=on
-endif
ifeq ($(BUILD_VARIANT),mbedtls)
CMAKE_OPTIONS += -DMBEDTLS=on
endif
Package/libustream-openssl/install = $(Package/libustream/default/install)
Package/libustream-cyassl/install = $(Package/libustream/default/install)
-Package/libustream-polarssl/install = $(Package/libustream/default/install)
Package/libustream-mbedtls/install = $(Package/libustream/default/install)
-$(eval $(call BuildPackage,libustream-polarssl))
$(eval $(call BuildPackage,libustream-mbedtls))
$(eval $(call BuildPackage,libustream-cyassl))
$(eval $(call BuildPackage,libustream-openssl))