Patchwork [meta-fsl-arm,v2,1/1] gpu-viv-bin-mx6q.inc: Add linked libraries to libGAL to DEPENDS

login
register
mail settings
Submitter Andrei Gherzan
Date June 20, 2013, 8:09 p.m.
Message ID <1371758945-5139-1-git-send-email-andrei@gherzan.ro>
Download mbox | patch
Permalink /patch/52169/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Andrei Gherzan - June 20, 2013, 8:09 p.m.
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 1 +
 1 file changed, 1 insertion(+)
Fabio Estevam - June 20, 2013, 8:11 p.m.
On Thu, Jun 20, 2013 at 5:09 PM, Andrei Gherzan <andrei@gherzan.ro> wrote:
> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>

Please add a commit log explaining why this patch is needed.

> ---
>  recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
> index e1f10b6..91d93e6 100644
> --- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
> +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
> @@ -126,6 +126,7 @@ FILES_libegl-mx6-dbg = "${libdir}/.debug/libEGL${SOLIBS}"
>  FILES_libgal-mx6 = "${libdir}/libGAL${SOLIBS}"
>  FILES_libgal-mx6-dev = "${libdir}/libGAL${SOLIBSDEV}"
>  FILES_libgal-mx6-dbg = "${libdir}/.debug/libGAL${SOLIBS}"
> +DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes', '', d)}"
>
>  FILES_libgl-mx6 = "${libdir}/libGL${SOLIBS}"
>  FILES_libgl-mx6-dbg = "${libdir}/.debug/libGL.${SOLIBS}"
> --
> 1.8.1.4
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale

Patch

diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index e1f10b6..91d93e6 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -126,6 +126,7 @@  FILES_libegl-mx6-dbg = "${libdir}/.debug/libEGL${SOLIBS}"
 FILES_libgal-mx6 = "${libdir}/libGAL${SOLIBS}"
 FILES_libgal-mx6-dev = "${libdir}/libGAL${SOLIBSDEV}"
 FILES_libgal-mx6-dbg = "${libdir}/.debug/libGAL${SOLIBS}"
+DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes', '', d)}"
 
 FILES_libgl-mx6 = "${libdir}/libGL${SOLIBS}"
 FILES_libgl-mx6-dbg = "${libdir}/.debug/libGL.${SOLIBS}"