From 25c8c00b98e37186d23ea6515e944060e59cfa8f Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 22 Feb 2023 17:05:13 +0100 Subject: [PATCH] package/gnuradio: add gr-network block support grnet networking block support is available since version version 3.9.0.0 and https://github.com/gnuradio/gnuradio/commit/cc37c3e8cd5eabcb5c9d919e5fffc5d938690140 gr-network is a mandatory dependency of latest gqrx Signed-off-by: Fabrice Fontaine Acked-by: Gwenhael Goavec-merou Signed-off-by: Thomas Petazzoni --- package/gnuradio/Config.in | 6 ++++++ package/gnuradio/gnuradio.mk | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/package/gnuradio/Config.in b/package/gnuradio/Config.in index 1824589263..51237e62b9 100644 --- a/package/gnuradio/Config.in +++ b/package/gnuradio/Config.in @@ -134,6 +134,12 @@ config BR2_PACKAGE_GNURADIO_FILTER help Filter signal processing blocks +config BR2_PACKAGE_GNURADIO_NETWORK + bool "gr-network support" + select BR2_PACKAGE_GNURADIO_BLOCKS + help + TCP and UDP source/sink blocks + config BR2_PACKAGE_GNURADIO_QTGUI bool "gr-qtgui" depends on BR2_PACKAGE_GNURADIO_PYTHON diff --git a/package/gnuradio/gnuradio.mk b/package/gnuradio/gnuradio.mk index 59fb23d89d..d9218b533d 100644 --- a/package/gnuradio/gnuradio.mk +++ b/package/gnuradio/gnuradio.mk @@ -106,6 +106,12 @@ else GNURADIO_CONF_OPTS += -DENABLE_GR_FILTER=OFF endif +ifeq ($(BR2_PACKAGE_GNURADIO_NETWORK),y) +GNURADIO_CONF_OPTS += -DENABLE_GR_NETWORK=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_NETWORK=OFF +endif + ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y) GNURADIO_DEPENDENCIES += python3 python-pybind \ host-python-numpy host-python-packaging