diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2016-11-18 19:11:51 -0600 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-11-23 08:09:34 -0200 |
commit | 6f6cdd9a46f81fbb8565275ac7fa870a04bda793 (patch) | |
tree | 30f5474f9f0144be6a2bbc7e1b8c01ddd6eb1997 | |
parent | 4a8b4955c7ff899e3e1bb71b08d81ee8ad18462e (diff) | |
download | meta-freescale-6f6cdd9a46f81fbb8565275ac7fa870a04bda793.tar.gz |
cogl-1.0: 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>
-rw-r--r-- | recipes-graphics/cogl/cogl-1.0_%.bbappend | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/recipes-graphics/cogl/cogl-1.0_%.bbappend b/recipes-graphics/cogl/cogl-1.0_%.bbappend index 87fd15a4..c150f3ee 100644 --- a/recipes-graphics/cogl/cogl-1.0_%.bbappend +++ b/recipes-graphics/cogl/cogl-1.0_%.bbappend | |||
@@ -1,4 +1,5 @@ | |||
1 | PACKAGECONFIG_mx6 ??= "cogl-pango gles2 \ | 1 | PACKAGECONFIG_mx6 ??= " \ |
2 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ | 2 | cogl-pango gles2 \ |
3 | bb.utils.contains('DISTRO_FEATURES', 'wayland', \ | 3 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', \ |
4 | 'egl-wayland', '', d), d)}" | 4 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ |
5 | '', d), d)}" | ||