4fc62e1eb6
The mosquitto package provides both the MQTT client library and
a broker, and the latter may be not needed (when connecting to
a remote broker). It should be therefore possible to not install and
start it on the target
Also remove the dependency on BR2_TOOLCHAIN_HAS_SYNC_4, as it does not seem
to be needed. Verified with:
* br-m68k-68040-full.config [OK]
* br-sparc-uclibc.config [OK]
The original issue adding the dependency in commit 874d0784bb
(package/mosquito: needs sync_4) unfortunately refers to autobuilder results
that are no longer available.
Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
[Peter: extend commit message, fix comment line, remove indentation in .mk]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
28 lines
911 B
Plaintext
28 lines
911 B
Plaintext
config BR2_PACKAGE_MOSQUITTO
|
|
bool "mosquitto"
|
|
depends on !BR2_STATIC_LIBS # builds .so
|
|
help
|
|
Mosquitto is an open source message broker that implements
|
|
the MQ Telemetry Transport protocol versions 3.1 and
|
|
3.1.1. MQTT provides a lightweight method of carrying out
|
|
messaging using a publish/subscribe model. This makes it
|
|
suitable for "machine to machine" messaging such as with low
|
|
power sensors or mobile devices such as phones, embedded
|
|
computers or microcontrollers like the Arduino.
|
|
|
|
http://mosquitto.org/
|
|
|
|
comment "mosquitto needs a toolchain w/ dynamic library"
|
|
depends on BR2_STATIC_LIBS
|
|
|
|
config BR2_PACKAGE_MOSQUITTO_BROKER
|
|
bool "install the mosquitto broker"
|
|
default y
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on BR2_PACKAGE_MOSQUITTO
|
|
help
|
|
Build and install the mosquitto broker onto target.
|
|
|
|
comment "mosquitto broker needs a system with MMU"
|
|
depends on !BR2_USE_MMU
|