summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2016-11-18 19:11:53 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2016-11-23 08:09:34 -0200
commitc3f19285f243ceec01e1b0bb1edbeafebc36aeb5 (patch)
tree521de171bd0de1c85e91339328abb03fe491568a /recipes-graphics
parent3d10ec3e7a510efff8eae23c608a560b8fcddd5c (diff)
downloadmeta-freescale-c3f19285f243ceec01e1b0bb1edbeafebc36aeb5.tar.gz
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 <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc10
1 files changed, 6 insertions, 4 deletions
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"
7LICENSE = "Proprietary" 7LICENSE = "Proprietary"
8LIC_FILES_CHKSUM = "file://gpu-core/usr/include/gc_vdk.h;beginline=5;endline=11;md5=12c028cbbbedb4b8770267131500592c" 8LIC_FILES_CHKSUM = "file://gpu-core/usr/include/gc_vdk.h;beginline=5;endline=11;md5=12c028cbbbedb4b8770267131500592c"
9 9
10DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \ 10DEPENDS += " \
11 bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ 11 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
12 '', d), d)} \ 12 bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \
13 libpng" 13 '', d), d)} \
14 libpng \
15"
14 16
15EXTRA_PROVIDES = "" 17EXTRA_PROVIDES = ""
16EXTRA_PROVIDES_imxgpu3d = " virtual/libgl virtual/libgles1 virtual/libgles2" 18EXTRA_PROVIDES_imxgpu3d = " virtual/libgl virtual/libgles1 virtual/libgles2"