Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/zeromq: Allow building with draft APIs enabled
@ 2019-02-05 10:28 Lionel Flandrin
  2019-02-05 10:28 ` [Buildroot] [PATCH 2/2] package/python-pyzmq: Enable draft APIs when supported by ZeroMQ Lionel Flandrin
  2019-02-06 16:19 ` [Buildroot] [PATCH 1/2] package/zeromq: Allow building with draft APIs enabled Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Lionel Flandrin @ 2019-02-05 10:28 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Lionel Flandrin <lionel@svkt.org>
---
 package/zeromq/Config.in | 7 +++++++
 package/zeromq/zeromq.mk | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/package/zeromq/Config.in b/package/zeromq/Config.in
index 69be9f002c..fdcdebc691 100644
--- a/package/zeromq/Config.in
+++ b/package/zeromq/Config.in
@@ -52,4 +52,11 @@ config BR2_PACKAGE_ZEROMQ_PGM
 	  3208) implemented either over raw IP packets or UDP
 	  datagrams (encapsulated PGM).
 
+config BR2_PACKAGE_ZEROMQ_DRAFTS
+	bool "Enable ZeroMQ draft APIs"
+	help
+	  Enable unstable draft ZeroMQ APIs
+
+	  https://pyzmq.readthedocs.io/en/latest/draft.html
+
 endif
diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk
index da57f8745c..0761e54405 100644
--- a/package/zeromq/zeromq.mk
+++ b/package/zeromq/zeromq.mk
@@ -47,6 +47,10 @@ else
 ZEROMQ_CONF_OPTS += --without-pgm
 endif
 
+ifeq ($(BR2_PACKAGE_ZEROMQ_DRAFTS),y)
+ZEROMQ_CONF_OPTS += --enable-drafts
+endif
+
 # ZeroMQ uses libsodium if it's available.
 ifeq ($(BR2_PACKAGE_LIBSODIUM),y)
 ZEROMQ_DEPENDENCIES += libsodium
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-06 16:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-05 10:28 [Buildroot] [PATCH 1/2] package/zeromq: Allow building with draft APIs enabled Lionel Flandrin
2019-02-05 10:28 ` [Buildroot] [PATCH 2/2] package/python-pyzmq: Enable draft APIs when supported by ZeroMQ Lionel Flandrin
2019-02-06 16:19   ` Thomas Petazzoni
2019-02-06 16:19 ` [Buildroot] [PATCH 1/2] package/zeromq: Allow building with draft APIs enabled Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox