From: Tom Hochstein Date: Thu, 5 Jul 2018 18:18:39 +0000 (-0500) Subject: mesa-demos: Fix condition for GLES support X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=681d596e5cbf78cc27d1cdfccd329022242d2c14;p=meta-freescale.git 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 Signed-off-by: Otavio Salvador --- diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend index 2ee7c2b9..94db4157 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 file://Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch \ file://Add-OpenVG-demos-to-support-wayland.patch" -PACKAGECONFIG_IMX_TO_REMOVE = "" -PACKAGECONFIG_IMX_TO_REMOVE_append_imxgpu2d = "gles1 gles2" -PACKAGECONFIG_IMX_TO_REMOVE_append_imxgpu = " \ +PACKAGECONFIG_IMX_TO_REMOVE_GLES = "" +PACKAGECONFIG_IMX_TO_REMOVE_GLES_imxgpu2d = "gles1 gles2" +PACKAGECONFIG_IMX_TO_REMOVE_GLES_imxgpu3d = "" +PACKAGECONFIG_IMX_TO_REMOVE = "${PACKAGECONFIG_IMX_TO_REMOVE_GLES}" +PACKAGECONFIG_IMX_TO_REMOVE_append_imxgpu = " \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu x11', '', d)} \ " PACKAGECONFIG_remove = "${PACKAGECONFIG_IMX_TO_REMOVE}"