]> code.ossystems Code Review - meta-freescale.git/commitdiff
gpu-viv-bin-mx6q: Rework depends for easy reading
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 29 Mar 2014 20:31:50 +0000 (17:31 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 31 Mar 2014 21:55:49 +0000 (18:55 -0300)
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>
meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc

index 40fcb2f3a5663a65e29a400c269493c51353ba48..f20356d79e76553401a2e29526da2cdee049ad35 100644 (file)
@@ -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"