From: Gwenhael Goavec-Merou Date: Mon, 8 Feb 2021 15:19:15 +0000 (+0100) Subject: package/gnuradio: add gr-uhd option X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3572b30250788f25df974d7e108389c349e79da4;p=buildroot.git package/gnuradio: add gr-uhd option GNURadio has a block to use USRP, through UHD, to receive or transmit RF signals. Signed-off-by: Gwenhael Goavec-Merou Signed-off-by: Peter Korsgaard --- diff --git a/package/gnuradio/Config.in b/package/gnuradio/Config.in index c7b01b454b..738088802e 100644 --- a/package/gnuradio/Config.in +++ b/package/gnuradio/Config.in @@ -156,4 +156,13 @@ config BR2_PACKAGE_GNURADIO_TRELLIS help Trellis coded modulation blocks +config BR2_PACKAGE_GNURADIO_UHD + bool "gr-uhd support" + select BR2_PACKAGE_UHD + select BR2_PACKAGE_GNURADIO_ANALOG + select BR2_PACKAGE_GNURADIO_BLOCKS + select BR2_PACKAGE_GNURADIO_FILTER + help + UHD support + endif diff --git a/package/gnuradio/gnuradio.mk b/package/gnuradio/gnuradio.mk index 0a818cfc24..1f4458db92 100644 --- a/package/gnuradio/gnuradio.mk +++ b/package/gnuradio/gnuradio.mk @@ -149,6 +149,13 @@ else GNURADIO_CONF_OPTS += -DENABLE_GR_TRELLIS=OFF endif +ifeq ($(BR2_PACKAGE_GNURADIO_UHD),y) +GNURADIO_DEPENDENCIES += uhd +GNURADIO_CONF_OPTS += -DENABLE_GR_UHD=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_UHD=OFF +endif + ifeq ($(BR2_PACKAGE_GNURADIO_UTILS),y) GNURADIO_CONF_OPTS += -DENABLE_GR_UTILS=ON else