Skip to contentSkip to conversation

package/freescale-imx/imx-vpuwrap: don't override dependencies

PATCH In review Fabrice Fontaine 3 participants 3 messages Nov 9, 2021 – Nov 17, 2021 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

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

Don't override IMX_VPUWRAP_DEPENDENCIES in a conditional

---
 package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)
package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk +3 -9
index fdad3a5f2b..b9a1717d28 100644
@@ -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)
 IMX_VPUWRAP_LICENSE = NXP Semiconductor Software License Agreement
 IMX_VPUWRAP_LICENSE_FILES = EULA COPYING
 IMX_VPUWRAP_REDISTRIBUTE = NO
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Fabrice, All,

On 2021-11-09 18:21 +0100, Fabrice Fontaine spake thusly:

Quoted 17 lines

Don't override IMX_VPUWRAP_DEPENDENCIES in a conditional

---
 package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)
package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk +0 -2
index fdad3a5f2b..b9a1717d28 100644
@@ -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)

package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk IMX_VPUWRAP_VERSION = 4.3.5 · line 13

Quoted 10 lines
package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk +3 -7
-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.

Quoted 10 lines
package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk +0 -0
 IMX_VPUWRAP_LICENSE = NXP Semiconductor Software License Agreement
 IMX_VPUWRAP_LICENSE_FILES = EULA COPYING
 IMX_VPUWRAP_REDISTRIBUTE = NO
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Fabrice Fontaine
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Don't override IMX_VPUWRAP_DEPENDENCIES in a conditional

Committed to 2021.02.x and 2021.08.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot