diff options
Diffstat (limited to 'bsp/meta-freescale/recipes-graphics/mesa/mesa-demos_%.bbappend')
-rw-r--r-- | bsp/meta-freescale/recipes-graphics/mesa/mesa-demos_%.bbappend | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bsp/meta-freescale/recipes-graphics/mesa/mesa-demos_%.bbappend b/bsp/meta-freescale/recipes-graphics/mesa/mesa-demos_%.bbappend new file mode 100644 index 00000000..94db4157 --- /dev/null +++ b/bsp/meta-freescale/recipes-graphics/mesa/mesa-demos_%.bbappend @@ -0,0 +1,22 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI_append_imxgpu = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch \ + file://fix-clear-build-break.patch \ + file://Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch \ + file://Add-OpenVG-demos-to-support-wayland.patch" + +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}" + +PACKAGECONFIG_IMX_TO_APPEND = "" +PACKAGECONFIG_IMX_TO_APPEND_append_imxgpu = " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland vg', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glut', '', d)} \ +" +PACKAGECONFIG_append = "${PACKAGECONFIG_IMX_TO_APPEND}" |