* [Buildroot] [PATCH] gnuradio: gr-fec: add missing dependency to gsl
@ 2016-11-22 9:18 Gwenhael Goavec-Merou
2016-11-22 9:40 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Gwenhael Goavec-Merou @ 2016-11-22 9:18 UTC (permalink / raw)
To: buildroot
From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
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>
---
package/gnuradio/Config.in | 1 +
package/gnuradio/gnuradio.mk | 1 +
2 files changed, 2 insertions(+)
diff --git a/package/gnuradio/Config.in b/package/gnuradio/Config.in
index 50f5e7f..8301afe 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 5cb00d2..f1817f6 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
--
2.7.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] gnuradio: gr-fec: add missing dependency to gsl
2016-11-22 9:18 [Buildroot] [PATCH] gnuradio: gr-fec: add missing dependency to gsl Gwenhael Goavec-Merou
@ 2016-11-22 9:40 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-11-22 9:40 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 22 Nov 2016 10:18:21 +0100, Gwenhael Goavec-Merou wrote:
> From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
>
> 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>
> ---
> package/gnuradio/Config.in | 1 +
> package/gnuradio/gnuradio.mk | 1 +
> 2 files changed, 2 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-22 9:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-22 9:18 [Buildroot] [PATCH] gnuradio: gr-fec: add missing dependency to gsl Gwenhael Goavec-Merou
2016-11-22 9:40 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox