[meta-fsl-arm,3/5] gpu-viv-bin-mx6q: Rework depends for easy reading

Submitted by Otavio Salvador on March 31, 2014, 10:08 p.m.

Details

Message ID 1396303726-17278-4-git-send-email-otavio@ossystems.com.br
State Accepted, archived
Delegated to: Otavio Salvador
Headers show

Commit Message

Otavio Salvador March 31, 2014, 10:08 p.m.
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 <otavio@ossystems.com.br>
---
 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

Patch hide | download patch | download mbox

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"