gnuradio: add processing blocks
GNURadio provides a set of processing blocks like analog or digital communication, filters, ... Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [build-tested only] Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
505b233874
commit
accaa7f487
@ -37,6 +37,12 @@ config BR2_PACKAGE_GNURADIO_BLOCKS
|
||||
help
|
||||
GNU Radio basic block library
|
||||
|
||||
config BR2_PACKAGE_GNURADIO_FEC
|
||||
bool "gr-fec support"
|
||||
select BR2_PACKAGE_GNURADIO_BLOCKS
|
||||
help
|
||||
FEC signal processing blocks
|
||||
|
||||
config BR2_PACKAGE_GNURADIO_PYTHON
|
||||
bool "python support"
|
||||
select BR2_PACKAGE_BOOST_PYTHON
|
||||
@ -44,4 +50,58 @@ config BR2_PACKAGE_GNURADIO_PYTHON
|
||||
help
|
||||
Enable python component
|
||||
|
||||
config BR2_PACKAGE_GNURADIO_UTILS
|
||||
bool "gr-utils support"
|
||||
select BR2_PACKAGE_GNURADIO_PYTHON
|
||||
help
|
||||
Misc python utilities
|
||||
|
||||
comment "gr-fft, -filter, -analog, -channels, -digital, -trellis, -pager depends fftw's single precision"
|
||||
depends on !BR2_PACKAGE_FFTW_PRECISION_SINGLE
|
||||
|
||||
if BR2_PACKAGE_FFTW_PRECISION_SINGLE
|
||||
|
||||
config BR2_PACKAGE_GNURADIO_ANALOG
|
||||
bool "gr-analog support"
|
||||
select BR2_PACKAGE_GNURADIO_FILTER
|
||||
help
|
||||
Analog communications blocks
|
||||
|
||||
config BR2_PACKAGE_GNURADIO_CHANNELS
|
||||
bool "gr-channels support"
|
||||
select BR2_PACKAGE_GNURADIO_ANALOG
|
||||
help
|
||||
Channel model blocks
|
||||
|
||||
config BR2_PACKAGE_GNURADIO_DIGITAL
|
||||
bool "gr-digital support"
|
||||
select BR2_PACKAGE_GNURADIO_ANALOG
|
||||
help
|
||||
Digital communications blocks
|
||||
|
||||
config BR2_PACKAGE_GNURADIO_FFT
|
||||
bool "gr-fft support"
|
||||
select BR2_PACKAGE_GNURADIO_BLOCKS
|
||||
help
|
||||
FFT signal processing blocks
|
||||
|
||||
config BR2_PACKAGE_GNURADIO_FILTER
|
||||
bool "gr-filter support"
|
||||
select BR2_PACKAGE_GNURADIO_FFT
|
||||
help
|
||||
Filter signal processing blocks
|
||||
|
||||
config BR2_PACKAGE_GNURADIO_PAGER
|
||||
bool "gr-flex support"
|
||||
select BR2_PACKAGE_GNURADIO_ANALOG
|
||||
help
|
||||
FLEX pager decoder implementation blocks
|
||||
|
||||
config BR2_PACKAGE_GNURADIO_TRELLIS
|
||||
bool "gr-trellis support"
|
||||
select BR2_PACKAGE_GNURADIO_DIGITAL
|
||||
help
|
||||
Trellis coded modulation blocks
|
||||
|
||||
endif
|
||||
endif
|
||||
|
@ -42,12 +42,49 @@ ifeq ($(BR2_ARM_CPU_HAS_NEON),)
|
||||
GNURADIO_CONF_OPTS += -Dhave_mfpu_neon=0
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNURADIO_ANALOG),y)
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_ANALOG=ON
|
||||
else
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_ANALOG=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNURADIO_BLOCKS),y)
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_BLOCKS=ON
|
||||
else
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_BLOCKS=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNURADIO_CHANNELS),y)
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_CHANNELS=ON
|
||||
else
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_CHANNELS=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNURADIO_DIGITAL),y)
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_DIGITAL=ON
|
||||
else
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_DIGITAL=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNURADIO_FEC),y)
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=ON
|
||||
else
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNURADIO_FFT),y)
|
||||
GNURADIO_DEPENDENCIES += fftw
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_FFT=ON
|
||||
else
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_FFT=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNURADIO_FILTER),y)
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_FILTER=ON
|
||||
else
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_FILTER=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y)
|
||||
GNURADIO_DEPENDENCIES += python
|
||||
GNURADIO_CONF_OPTS += -DENABLE_PYTHON=ON
|
||||
@ -55,4 +92,22 @@ else
|
||||
GNURADIO_CONF_OPTS += -DENABLE_PYTHON=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNURADIO_PAGER),y)
|
||||
GNURADIO_CONF_OPTS += -DENABLE_PAGER=ON
|
||||
else
|
||||
GNURADIO_CONF_OPTS += -DENABLE_PAGER=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNURADIO_TRELLIS),y)
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_TRELLIS=ON
|
||||
else
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_TRELLIS=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNURADIO_UTILS),y)
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_UTILS=ON
|
||||
else
|
||||
GNURADIO_CONF_OPTS += -DENABLE_GR_UTILS=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
Loading…
Reference in New Issue
Block a user