From 855295b6588abd1878419c9ada1b7cef387a57c5 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Mon, 25 Jun 2018 21:12:37 +0200 Subject: [PATCH] gnuradio: add zeromq support This patch adds support for sink/source GNURadio blocks to send/receive zeromq data stream. Signed-off-by: Gwenhael Goavec-Merou Signed-off-by: Thomas Petazzoni --- 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)) -- 2.30.2