include $(INCLUDE_DIR)/package.mk
-MAKE_FLAGS+=WITH_DOCS=no
-MAKE_FLAGS+=WITH_WEBSOCKETS=$(if $(CONFIG_MOSQUITTO_LWS),"yes","no")
-
define Package/$(PKG_NAME)/default
SECTION:=net
CATEGORY:=Network
Package/libmosquitto-nossl/install = $(Package/libmosquitto/install)
# Applies to all...
+MAKE_FLAGS += WITH_DOCS=no
ifeq ($(BUILD_VARIANT),nossl)
- MAKE_FLAGS += WITH_TLS=no
+ MAKE_FLAGS += WITH_TLS=no WITH_WEBSOCKETS=no
+else
+ MAKE_FLAGS += WITH_WEBSOCKETS=$(if $(CONFIG_MOSQUITTO_LWS),"yes","no")
endif
$(eval $(call BuildPackage,$(PKG_NAME)))