aboutsummaryrefslogtreecommitdiff
path: root/package/zeromq
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2016-03-09 06:35:42 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-20 23:05:16 +0100
commit01992b3877a6f7ebf45d87e2b9556aa38742cdf1 (patch)
treec4b1214a26f5398d5fe58e2ce9d6c9aed0227428 /package/zeromq
parent63807d2e8ab7184b1c32e494dbde783b679386b7 (diff)
downloadbuildroot-01992b3877a6f7ebf45d87e2b9556aa38742cdf1.tar.gz
buildroot-01992b3877a6f7ebf45d87e2b9556aa38742cdf1.tar.bz2
zeromq: add norm support
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> [Thomas: add explicit --without-norm.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/zeromq')
-rw-r--r--package/zeromq/Config.in11
-rw-r--r--package/zeromq/zeromq.mk7
2 files changed, 18 insertions, 0 deletions
diff --git a/package/zeromq/Config.in b/package/zeromq/Config.in
index aefdf48493..d5c9deae37 100644
--- a/package/zeromq/Config.in
+++ b/package/zeromq/Config.in
@@ -27,6 +27,17 @@ config BR2_PACKAGE_ZEROMQ
if BR2_PACKAGE_ZEROMQ
+comment "norm support needs a toolchain w/ dynamic library"
+ depends on BR2_STATIC_LIBS
+
+config BR2_PACKAGE_ZEROMQ_NORM
+ bool "NORM support"
+ depends on !BR2_STATIC_LIBS
+ select BR2_PACKAGE_NORM
+ help
+ Add support for NACK-Oriented Reliable Multicast (RFC 5740)
+ protocol.
+
config BR2_PACKAGE_ZEROMQ_PGM
bool "PGM/EPGM support"
depends on BR2_TOOLCHAIN_HAS_SYNC_2
diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk
index b80f8e49a3..fbc63a75c5 100644
--- a/package/zeromq/zeromq.mk
+++ b/package/zeromq/zeromq.mk
@@ -28,6 +28,13 @@ ifeq ($(BR2_STATIC_LIBS),y)
ZEROMQ_CONF_OPTS += LIBS=-lstdc++
endif
+ifeq ($(BR2_PACKAGE_ZEROMQ_NORM),y)
+ZEROMQ_CONF_OPTS += --with-norm
+ZEROMQ_DEPENDENCIES += norm
+else
+ZEROMQ_CONF_OPTS += --without-norm
+endif
+
ifeq ($(BR2_PACKAGE_ZEROMQ_PGM),y)
ZEROMQ_DEPENDENCIES += host-pkgconf openpgm
ZEROMQ_CONF_OPTS += --with-pgm