package/gnuradio: add optional IIO support to GNU Radio

Indeed libiio dependency must be activated.

This used to be an external package but is now included in gnuradio
itself.

Signed-off-by: Jean-Michel Friedt <jmfriedt@femto-st.fr>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Jean-Michel Friedt 2024-05-16 10:34:21 +02:00 committed by Arnout Vandecappelle
parent dad0ebf441
commit a559a68428
2 changed files with 14 additions and 0 deletions

View File

@ -136,6 +136,13 @@ config BR2_PACKAGE_GNURADIO_FILTER
help
Filter signal processing blocks
config BR2_PACKAGE_GNURADIO_IIO
bool "gr-iio support"
select BR2_PACKAGE_LIBIIO
select BR2_PACKAGE_GNURADIO_BLOCKS
help
IIO support
config BR2_PACKAGE_GNURADIO_NETWORK
bool "gr-network support"
select BR2_PACKAGE_GNURADIO_BLOCKS

View File

@ -112,6 +112,13 @@ else
GNURADIO_CONF_OPTS += -DENABLE_GR_NETWORK=OFF
endif
ifeq ($(BR2_PACKAGE_GNURADIO_IIO),y)
GNURADIO_CONF_OPTS += -DENABLE_GR_IIO=ON
GNURADIO_DEPENDENCIES += libiio
else
GNURADIO_CONF_OPTS += -DENABLE_GR_IIO=OFF
endif
ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y)
GNURADIO_DEPENDENCIES += python3 python-pybind \
host-python-numpy host-python-packaging