From: Gwenhael Goavec-Merou <gwenj@trabucayre.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] gnuradio: add zeromq support
Date: Mon, 25 Jun 2018 21:12:37 +0200 [thread overview]
Message-ID: <20180625191237.26394-1-gwenj@trabucayre.com> (raw)
From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
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>
---
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.16.4
next reply other threads:[~2018-06-25 19:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-25 19:12 Gwenhael Goavec-Merou [this message]
2018-07-01 19:32 ` [Buildroot] [PATCH] gnuradio: add zeromq support Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180625191237.26394-1-gwenj@trabucayre.com \
--to=gwenj@trabucayre.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.