There are no SoC specific dependencies which we need to use the
overrides system to specify the dependencies so the use of variables
just makes the depends line harder to read. Stop using the temporary
variables for X11 and Wayland dependencies.

Change-Id: I7e31c0c19dde7e81fc4dfed0553945733f636c43
Signed-off-by: Otavio Salvador <[email protected]>
---
 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

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 40fcb2f..f20356d 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
@@ -7,11 +7,8 @@ SECTION = "libs"
 LICENSE = "Proprietary"
 LIC_FILES_CHKSUM = 
"file://usr/include/gc_vdk.h;endline=11;md5=19f5925343fa3da65596eeaa4ddb5fd3"
 
-X11_DEPENDS = "virtual/libx11 libxdamage libxext libxfixes mesa"
-WL_DEPENDS = "wayland"
-
-DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', '${X11_DEPENDS}', \
-                             base_contains('DISTRO_FEATURES', 'wayland', 
'${WL_DEPENDS}', \
+DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 
libxdamage libxext libxfixes mesa', \
+                             base_contains('DISTRO_FEATURES', 'wayland', 
'wayland', \
                                            '', d), d)}"
 
 PROVIDES += "virtual/wayland-egl virtual/libgl virtual/libgal-x11 virtual/egl 
virtual/libgles1 virtual/libgles2 virtual/libopenvg"
-- 
1.9.1

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to