mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-25 19:40:35 -09:00
package/mosquitto: add option to enable the $SYS/# topics tree
Signed-off-by: Yann E. MORIN <yann.morin@orange.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Titouan Christophe <titouan.christophe@mind.be> Signed-off-by: Romain Naour <romain.naour@smile.fr>
This commit is contained in:
committed by
Romain Naour
parent
9e11bbbcd1
commit
1b3efa8c7e
@@ -94,6 +94,13 @@ config BR2_PACKAGE_MOSQUITTO_BROKER_BRIDGE
|
||||
help
|
||||
Include bridge support for connecting to other brokers
|
||||
|
||||
config BR2_PACKAGE_MOSQUITTO_BROKER_SYS
|
||||
bool "$SYS tree support"
|
||||
default y # legacy
|
||||
help
|
||||
Enable the $SYS/# tree structure, to export broker status as
|
||||
MQTT topics.
|
||||
|
||||
config BR2_PACKAGE_MOSQUITTO_BROKER_PLUGIN_STATIC_PASSWD
|
||||
bool "static password file plugin"
|
||||
default y
|
||||
|
||||
@@ -93,7 +93,8 @@ MOSQUITTO_CONF_OPTS += \
|
||||
-DWITH_PLUGIN_PASSWORD_FILE=$(if $(BR2_PACKAGE_MOSQUITTO_BROKER_PLUGIN_STATIC_PASSWD),ON,OFF) \
|
||||
-DWITH_PLUGIN_ACL_FILE=$(if $(BR2_PACKAGE_MOSQUITTO_BROKER_PLUGIN_STATIC_ACL),ON,OFF) \
|
||||
-DWITH_PLUGIN_DYNAMIC_SECURITY=$(if $(BR2_PACKAGE_MOSQUITTO_BROKER_DYNAMIC_SECURITY_PLUGIN),ON,OFF) \
|
||||
-DINC_BRIDGE_SUPPORT=$(if $(BR2_PACKAGE_MOSQUITTO_BROKER_BRIDGE),ON,OFF)
|
||||
-DINC_BRIDGE_SUPPORT=$(if $(BR2_PACKAGE_MOSQUITTO_BROKER_BRIDGE),ON,OFF) \
|
||||
-DWITH_SYS_TREE=$(if $(BR2_PACKAGE_MOSQUITTO_BROKER_SYS),ON,OFF)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MOSQUITTO_BROKER_HTTP_API),y)
|
||||
MOSQUITTO_DEPENDENCIES += libmicrohttpd
|
||||
|
||||
Reference in New Issue
Block a user