7e7c321ba0
When libwebsockets is enabled, mosquitto broker is built with websocket
support, but its code requires libwebsockets being built with external
loop option - otherwise, mosquitto gives a compile-time warning hinting
to unusable websocket support:
1b24f625ea
To fix this, select the BR2_PACKAGE_LIBWEBSOCKETS_EXT_POLL option.
Signed-off-by: Luca Pesce <luca.pesce@vimar.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
config BR2_PACKAGE_MOSQUITTO
|
|
bool "mosquitto"
|
|
help
|
|
Eclipse Mosquitto is an open source (EPL/EDL licensed) message
|
|
broker that implements the MQTT protocol versions 5.0, 3.1.1
|
|
and 3.1. Mosquitto is lightweight and is suitable for use on
|
|
all devices from low power single board computers to full
|
|
servers.
|
|
|
|
The MQTT protocol provides a lightweight method of carrying
|
|
out messaging using a publish/subscribe model. This makes it
|
|
suitable for Internet of Things messaging such as with low
|
|
power sensors or mobile devices such as phones,
|
|
embedded computers or microcontrollers.
|
|
|
|
The Mosquitto project also provides a C library for
|
|
implementing MQTT clients, and the very popular mosquitto_pub
|
|
and mosquitto_sub command line MQTT clients.
|
|
|
|
https://mosquitto.org/
|
|
|
|
config BR2_PACKAGE_MOSQUITTO_BROKER
|
|
bool "install the mosquitto broker"
|
|
default y
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on !BR2_STATIC_LIBS # include <dlfcn.h>
|
|
depends on BR2_PACKAGE_MOSQUITTO
|
|
select BR2_PACKAGE_LIBWEBSOCKETS_EXT_POLL if BR2_PACKAGE_LIBWEBSOCKETS
|
|
help
|
|
Build and install the mosquitto broker onto target.
|
|
|
|
comment "mosquitto broker needs a toolchain w/ dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_STATIC_LIBS
|
|
depends on BR2_PACKAGE_MOSQUITTO
|