]> code.ossystems Code Review - meta-freescale.git/commitdiff
gpu-viv-bin-mx6q: Depends on 'wayland' when needed
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 13 Mar 2014 15:20:28 +0000 (12:20 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 17 Mar 2014 17:20:00 +0000 (14:20 -0300)
When using Wayland support, a dependency on 'wayland' is needed so the
shlib dependency can be done accordingly and we can have a
deterministic build.

Change-Id: Ief7caced3abf282d83fcd93c8bcb4a5622414c20
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc

index 32867e7f1035dcb30163ed4b50bdeda3355eb69b..40fcb2f3a5663a65e29a400c269493c51353ba48 100644 (file)
@@ -6,7 +6,14 @@ DESCRIPTION = "GPU driver and apps for imx6"
 SECTION = "libs"
 LICENSE = "Proprietary"
 LIC_FILES_CHKSUM = "file://usr/include/gc_vdk.h;endline=11;md5=19f5925343fa3da65596eeaa4ddb5fd3"
-DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', '', d)}"
+
+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}', \
+                                           '', d), d)}"
+
 PROVIDES += "virtual/wayland-egl virtual/libgl virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 virtual/libopenvg"
 
 PE = "1"