]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-viv: Configure for Wayland backend if wayland and x11 are in distro
authorTom Hochstein <tom.hochstein@nxp.com>
Sat, 19 Nov 2016 01:11:53 +0000 (19:11 -0600)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 23 Nov 2016 10:09:34 +0000 (08:09 -0200)
By i.MX convention, if wayland and x11 are in the distro features,
the Wayland backend is used.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc

index 525f0a2a02c1532e83363aebd9e571f4566a4327..25bd2859c2772abf6bf7756dc4fa0d4c8dd8be68 100644 (file)
@@ -7,10 +7,12 @@ SECTION = "libs"
 LICENSE = "Proprietary"
 LIC_FILES_CHKSUM = "file://gpu-core/usr/include/gc_vdk.h;beginline=5;endline=11;md5=12c028cbbbedb4b8770267131500592c"
 
-DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \
-                             bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
-                                           '', d), d)} \
-            libpng"
+DEPENDS += " \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
+       bb.utils.contains('DISTRO_FEATURES',     'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \
+                                                       '', d), d)} \
+    libpng \
+"
 
 EXTRA_PROVIDES = ""
 EXTRA_PROVIDES_imxgpu3d = " virtual/libgl virtual/libgles1 virtual/libgles2"