[Buildroot] [PATCH 1/2] package/gnuradio: use ENABLE_ORC

Yann E. MORIN yann.morin.1998 at free.fr
Thu Jan 9 17:24:38 UTC 2020


Fabrice, All,

On 2020-01-04 19:30 +0100, Fabrice Fontaine spake thusly:
> Use ENABLE_ORC to explicitly enable or disable ORC
> 
> This option is available since version 3.7.4 and
> https://github.com/gnuradio/gnuradio/commit/085c35a375468179929b690a0d7f037dc6ef23bf
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Both applied to master (I just noticed I inverted the order for no good
reason, but that has no consequence as the two are orthogonal). Thanks.

Regards,
Yann E. MORIN.

> ---
>  package/gnuradio/gnuradio.mk | 11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)
> 
> diff --git a/package/gnuradio/gnuradio.mk b/package/gnuradio/gnuradio.mk
> index 9a989ad117..5b5da56b87 100644
> --- a/package/gnuradio/gnuradio.mk
> +++ b/package/gnuradio/gnuradio.mk
> @@ -18,10 +18,6 @@ GNURADIO_DEPENDENCIES = \
>  	host-swig \
>  	boost
>  
> -ifeq ($(BR2_PACKAGE_ORC),y)
> -GNURADIO_DEPENDENCIES += orc
> -endif
> -
>  GNURADIO_CONF_OPTS = \
>  	-DENABLE_DEFAULT=OFF \
>  	-DENABLE_VOLK=ON \
> @@ -53,6 +49,13 @@ ifeq ($(BR2_ARM_CPU_HAS_NEON),)
>  GNURADIO_CONF_OPTS += -Dhave_mfpu_neon=0
>  endif
>  
> +ifeq ($(BR2_PACKAGE_ORC),y)
> +GNURADIO_DEPENDENCIES += orc
> +GNURADIO_CONF_OPTS += -DENABLE_ORC=ON
> +else
> +GNURADIO_CONF_OPTS += -DENABLE_ORC=OFF
> +endif
> +
>  ifeq ($(BR2_PACKAGE_GNURADIO_ANALOG),y)
>  GNURADIO_CONF_OPTS += -DENABLE_GR_ANALOG=ON
>  else
> -- 
> 2.24.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list