All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] gnuradio: add zeromq support
@ 2018-07-01 19:10 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2018-07-01 19:10 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=855295b6588abd1878419c9ada1b7cef387a57c5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This patch adds support for sink/source GNURadio blocks to send/receive
zeromq data stream.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/gnuradio/Config.in   |  7 +++++++
 package/gnuradio/gnuradio.mk | 10 ++++++++++
 2 files changed, 17 insertions(+)

diff --git a/package/gnuradio/Config.in b/package/gnuradio/Config.in
index 178bdc8861..d2892faff2 100644
--- a/package/gnuradio/Config.in
+++ b/package/gnuradio/Config.in
@@ -69,6 +69,13 @@ config BR2_PACKAGE_GNURADIO_UTILS
 	help
 	  Misc python utilities
 
+config BR2_PACKAGE_GNURADIO_ZEROMQ
+	bool "gr-zeromq support"
+	select BR2_PACKAGE_CPPZMQ
+	select BR2_PACKAGE_PYTHON_PYZMQ if BR2_PACKAGE_GNURADIO_PYTHON
+	help
+	  zeromq communication support
+
 comment "gr-fft, -filter, -analog, -channels, -digital, -trellis, -pager, -qtgui depends fftw's single precision"
 	depends on !BR2_PACKAGE_FFTW_PRECISION_SINGLE
 
diff --git a/package/gnuradio/gnuradio.mk b/package/gnuradio/gnuradio.mk
index e79f848388..9573b65b73 100644
--- a/package/gnuradio/gnuradio.mk
+++ b/package/gnuradio/gnuradio.mk
@@ -147,4 +147,14 @@ else
 GNURADIO_CONF_OPTS += -DENABLE_GR_UTILS=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_GNURADIO_ZEROMQ),y)
+GNURADIO_DEPENDENCIES += cppzmq
+ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y)
+GNURADIO_DEPENDENCIES += python-pyzmq
+endif
+GNURADIO_CONF_OPTS += -DENABLE_GR_ZEROMQ=ON
+else
+GNURADIO_CONF_OPTS += -DENABLE_GR_ZEROMQ=OFF
+endif
+
 $(eval $(cmake-package))

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-01 19:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-01 19:10 [Buildroot] [git commit] gnuradio: add zeromq support Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.