mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/mosquitto: add dynamic security plugin option
Signed-off-by: Flávio Tapajós <flavio.tapajos@newtesc.com.br> [Peter: drop default n] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
ec270a0815
commit
03e8d86f45
@@ -29,6 +29,15 @@ config BR2_PACKAGE_MOSQUITTO_BROKER
|
|||||||
help
|
help
|
||||||
Build and install the mosquitto broker onto target.
|
Build and install the mosquitto broker onto target.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_MOSQUITTO_BROKER_DYNAMIC_SECURITY_PLUGIN
|
||||||
|
bool "dynamic security plugin"
|
||||||
|
depends on BR2_PACKAGE_MOSQUITTO_BROKER
|
||||||
|
select BR2_PACKAGE_CJSON
|
||||||
|
select BR2_PACKAGE_OPENSSL
|
||||||
|
help
|
||||||
|
Build and install the dynamic security plugin for
|
||||||
|
mosquitto broker onto target.
|
||||||
|
|
||||||
comment "mosquitto broker needs a toolchain w/ dynamic library"
|
comment "mosquitto broker needs a toolchain w/ dynamic library"
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on BR2_STATIC_LIBS
|
depends on BR2_STATIC_LIBS
|
||||||
|
|||||||
@@ -94,6 +94,10 @@ ifeq ($(BR2_PACKAGE_MOSQUITTO_BROKER),y)
|
|||||||
MOSQUITTO_MAKE_DIRS += src apps/mosquitto_ctrl apps/mosquitto_passwd
|
MOSQUITTO_MAKE_DIRS += src apps/mosquitto_ctrl apps/mosquitto_passwd
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_MOSQUITTO_BROKER_DYNAMIC_SECURITY_PLUGIN),y)
|
||||||
|
MOSQUITTO_MAKE_DIRS += plugins/dynamic-security
|
||||||
|
endif
|
||||||
|
|
||||||
define MOSQUITTO_BUILD_CMDS
|
define MOSQUITTO_BUILD_CMDS
|
||||||
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) DIRS="$(MOSQUITTO_MAKE_DIRS)" \
|
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) DIRS="$(MOSQUITTO_MAKE_DIRS)" \
|
||||||
$(MOSQUITTO_MAKE_OPTS)
|
$(MOSQUITTO_MAKE_OPTS)
|
||||||
|
|||||||
Reference in New Issue
Block a user