diff options
| author | Tom Hochstein <tom.hochstein@nxp.com> | 2016-10-12 11:59:34 -0500 | 
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-10-27 10:36:28 -0200 | 
| commit | e0db986b1f77093ab63b5dc1bf44acff9ad89a8a (patch) | |
| tree | a9aeb2062a750e0cf5eacd9415d5836a9058ff51 | |
| parent | ab57aaa90723b57a2f9c0226b09c131f1af521b1 (diff) | |
| download | meta-freescale-e0db986b1f77093ab63b5dc1bf44acff9ad89a8a.tar.gz | |
mesa-demos: Fix configuration for Wayland on i.MX
If distro features contains wayland, we assume a wayland backend
and configure the package accordingly.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | recipes-graphics/mesa/mesa-demos_%.bbappend | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend index ac5bf65fe..722d53dd9 100644 --- a/recipes-graphics/mesa/mesa-demos_%.bbappend +++ b/recipes-graphics/mesa/mesa-demos_%.bbappend | |||
| @@ -6,11 +6,10 @@ SRC_URI_append_mx6 = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i. | |||
| 6 | file://Add-OpenVG-demos-to-support-wayland.patch" | 6 | file://Add-OpenVG-demos-to-support-wayland.patch" | 
| 7 | 7 | ||
| 8 | PACKAGECONFIG_remove_mx6 = " \ | 8 | PACKAGECONFIG_remove_mx6 = " \ | 
| 9 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ | 9 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu x11', '', d)} \ | 
| 10 | bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu', '', d), d)}" | 10 | " | 
| 11 | PACKAGECONFIG_remove_mx6sl = "gles1 gles2" | 11 | PACKAGECONFIG_remove_mx6sl = "gles1 gles2" | 
| 12 | 12 | ||
| 13 | PACKAGECONFIG_append_mx6 = " \ | 13 | PACKAGECONFIG_append_mx6 = " \ | 
| 14 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ | 14 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland vg', '', d)} \ | 
| 15 | bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland vg', '', d), d)} \ | ||
| 16 | " | 15 | " | 
