gnuradio: gr-fec: add missing dependency to gsl

gr-fec needs gsl. Without this dependency cmake search gsl in the host system.
This issue produce errors like :

arm-buildroot-linux-uclibcgnueabihf-gcc: ERROR: unsafe header/library path used
in cross-compilation: '-I/usr/include'
make[3]: *** [gr-fec/lib/CMakeFiles/gnuradio-fec.dir/reed-solomon/encode_rs.c.o] Error 1

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gwenhael Goavec-Merou 2016-11-22 10:18:21 +01:00 committed by Thomas Petazzoni
parent 47329fb4cf
commit 82f7217b33
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ config BR2_PACKAGE_GNURADIO_CTRLPORT
config BR2_PACKAGE_GNURADIO_FEC config BR2_PACKAGE_GNURADIO_FEC
bool "gr-fec support" bool "gr-fec support"
select BR2_PACKAGE_GNURADIO_BLOCKS select BR2_PACKAGE_GNURADIO_BLOCKS
select BR2_PACKAGE_GSL
help help
FEC signal processing blocks FEC signal processing blocks

View File

@ -89,6 +89,7 @@ GNURADIO_CONF_OPTS += -DENABLE_GR_DIGITAL=OFF
endif endif
ifeq ($(BR2_PACKAGE_GNURADIO_FEC),y) ifeq ($(BR2_PACKAGE_GNURADIO_FEC),y)
GNURADIO_DEPENDENCIES += gsl
GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=ON GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=ON
else else
GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=OFF GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=OFF