[Buildroot] [PATCH 1/1] package/freescale-imx/imx-vpuwrap: don't override dependencies

Yann E. MORIN yann.morin.1998 at free.fr
Wed Nov 10 09:42:24 UTC 2021


Fabrice, All,

On 2021-11-09 18:21 +0100, Fabrice Fontaine spake thusly:
> Don't override IMX_VPUWRAP_DEPENDENCIES in a conditional
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk | 12 +++---------
>  1 file changed, 3 insertions(+), 9 deletions(-)
> 
> diff --git a/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk b/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk
> index fdad3a5f2b..b9a1717d28 100644
> --- a/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk
> +++ b/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk
> @@ -8,15 +8,9 @@ IMX_VPUWRAP_VERSION = 4.3.5
>  IMX_VPUWRAP_SITE = $(FREESCALE_IMX_SITE)
>  IMX_VPUWRAP_SOURCE = imx-vpuwrap-$(IMX_VPUWRAP_VERSION).bin
>  IMX_VPUWRAP_INSTALL_STAGING = YES
> -
> -ifeq ($(BR2_PACKAGE_IMX_VPU),y)
> -IMX_VPUWRAP_DEPENDENCIES = imx-vpu
> -endif
> -
> -ifeq ($(BR2_PACKAGE_IMX_VPU_HANTRO),y)
> -IMX_VPUWRAP_DEPENDENCIES = imx-vpu-hantro
> -endif
> -
> +IMX_VPUWRAP_DEPENDENCIES = \
> +	$(if $(BR2_PACKAGE_IMX_VPU),imx-vpu) \
> +	$(if $(BR2_PACKAGE_IMX_VPU_HANTRO),imx-vpu-hantro)

I've kept the multi-line conditonal blocks, and just used +=, then
applied to master, thanks.

Regards,
Yann E. MORIN.

>  IMX_VPUWRAP_LICENSE = NXP Semiconductor Software License Agreement
>  IMX_VPUWRAP_LICENSE_FILES = EULA COPYING
>  IMX_VPUWRAP_REDISTRIBUTE = NO
> -- 
> 2.33.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/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