summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2018-07-05 13:18:39 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2018-07-05 15:49:49 -0300
commit29e0a27fb852b5f939b8b84d9ad600f5b3f6d097 (patch)
treeff7498560580422e3dbb6c7061bf809973f59438
parent222244146d49900d18d2e007d1a36a4640a43127 (diff)
downloadmeta-freescale-29e0a27fb852b5f939b8b84d9ad600f5b3f6d097.tar.gz
mesa-demos: Fix condition for GLES support
The condition for GLES support was incorrect and would remove GLES for parts with both 2D and 3D. Fix the condition so GLES is removed only for parts with 2D and no 3D. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 681d596e5cbf78cc27d1cdfccd329022242d2c14)
-rw-r--r--recipes-graphics/mesa/mesa-demos_%.bbappend8
1 files changed, 5 insertions, 3 deletions
diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend
index 2ee7c2b99..94db4157e 100644
--- a/recipes-graphics/mesa/mesa-demos_%.bbappend
+++ b/recipes-graphics/mesa/mesa-demos_%.bbappend
@@ -5,9 +5,11 @@ SRC_URI_append_imxgpu = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos
5 file://Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch \ 5 file://Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch \
6 file://Add-OpenVG-demos-to-support-wayland.patch" 6 file://Add-OpenVG-demos-to-support-wayland.patch"
7 7
8PACKAGECONFIG_IMX_TO_REMOVE = "" 8PACKAGECONFIG_IMX_TO_REMOVE_GLES = ""
9PACKAGECONFIG_IMX_TO_REMOVE_append_imxgpu2d = "gles1 gles2" 9PACKAGECONFIG_IMX_TO_REMOVE_GLES_imxgpu2d = "gles1 gles2"
10PACKAGECONFIG_IMX_TO_REMOVE_append_imxgpu = " \ 10PACKAGECONFIG_IMX_TO_REMOVE_GLES_imxgpu3d = ""
11PACKAGECONFIG_IMX_TO_REMOVE = "${PACKAGECONFIG_IMX_TO_REMOVE_GLES}"
12PACKAGECONFIG_IMX_TO_REMOVE_append_imxgpu = " \
11 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu x11', '', d)} \ 13 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu x11', '', d)} \
12" 14"
13PACKAGECONFIG_remove = "${PACKAGECONFIG_IMX_TO_REMOVE}" 15PACKAGECONFIG_remove = "${PACKAGECONFIG_IMX_TO_REMOVE}"