summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/mesa
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2016-10-12 11:59:35 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2016-10-27 10:36:28 -0200
commit0239e66b63f06d0573229d3f01a3a4cf76f3997d (patch)
tree404dd068f4e336cf23f736f645c334b0b51ec7d4 /recipes-graphics/mesa
parente0db986b1f77093ab63b5dc1bf44acff9ad89a8a (diff)
downloadmeta-freescale-0239e66b63f06d0573229d3f01a3a4cf76f3997d.tar.gz
mesa-demos: Refactor to use the new i.MX feature overrides
Configure the package using the existence of 2D and/or 3D hardware. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics/mesa')
-rw-r--r--recipes-graphics/mesa/mesa-demos_%.bbappend15
1 files changed, 12 insertions, 3 deletions
diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend
index 722d53dd..e900e1f8 100644
--- a/recipes-graphics/mesa/mesa-demos_%.bbappend
+++ b/recipes-graphics/mesa/mesa-demos_%.bbappend
@@ -5,11 +5,20 @@ SRC_URI_append_mx6 = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.
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_remove_mx6 = " \ 8PACKAGECONFIG_IMX_TO_REMOVE = ""
9PACKAGECONFIG_IMX_TO_REMOVE_imxgpu2d = " \
10 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu x11', '', d)} \
11 gles1 \
12 gles2 \
13"
14PACKAGECONFIG_IMX_TO_REMOVE_imxgpu3d = " \
9 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu x11', '', d)} \ 15 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'glu x11', '', d)} \
10" 16"
11PACKAGECONFIG_remove_mx6sl = "gles1 gles2"
12 17
13PACKAGECONFIG_append_mx6 = " \ 18PACKAGECONFIG_IMX_TO_APPEND = ""
19PACKAGECONFIG_IMX_TO_APPEND_imxgpu2d = " \
14 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland vg', '', d)} \ 20 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland vg', '', d)} \
15" 21"
22
23PACKAGECONFIG_remove = " ${PACKAGECONFIG_IMX_TO_REMOVE}"
24PACKAGECONFIG_append = " ${PACKAGECONFIG_IMX_TO_APPEND}"