From c3f19285f243ceec01e1b0bb1edbeafebc36aeb5 Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Fri, 18 Nov 2016 19:11:53 -0600 Subject: imx-gpu-viv: Configure for Wayland backend if wayland and x11 are in distro By i.MX convention, if wayland and x11 are in the distro features, the Wayland backend is used. Signed-off-by: Tom Hochstein Signed-off-by: Otavio Salvador --- recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc') diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc index 525f0a2a..25bd2859 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc @@ -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" -- cgit v1.2.3-54-g00ecf