From: Gwenhael Goavec-Merou Date: Tue, 22 Nov 2016 09:18:21 +0000 (+0100) Subject: gnuradio: gr-fec: add missing dependency to gsl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82f7217b334cc5e86ed81b62c3c184a44c813405;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- diff --git a/package/gnuradio/Config.in b/package/gnuradio/Config.in index 50f5e7fa19..8301afe8f2 100644 --- a/package/gnuradio/Config.in +++ b/package/gnuradio/Config.in @@ -49,6 +49,7 @@ config BR2_PACKAGE_GNURADIO_CTRLPORT config BR2_PACKAGE_GNURADIO_FEC bool "gr-fec support" select BR2_PACKAGE_GNURADIO_BLOCKS + select BR2_PACKAGE_GSL help FEC signal processing blocks diff --git a/package/gnuradio/gnuradio.mk b/package/gnuradio/gnuradio.mk index 5cb00d2416..f1817f61c2 100644 --- a/package/gnuradio/gnuradio.mk +++ b/package/gnuradio/gnuradio.mk @@ -89,6 +89,7 @@ GNURADIO_CONF_OPTS += -DENABLE_GR_DIGITAL=OFF endif ifeq ($(BR2_PACKAGE_GNURADIO_FEC),y) +GNURADIO_DEPENDENCIES += gsl GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=ON else GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=OFF