summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2017-03-22 16:14:09 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-04-07 14:02:34 +0200
commit46a0db6f937b0cb99ea7c89e7e3d0bf687606a72 (patch)
tree22a042d9f605f17aa6a776e32d802d3966b7a7a0
parent3bddf3726b30d231abe07e22979d6ad42cb06592 (diff)
fix-up mesa packageconfig
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--recipes-graphics/mesa/mesa_%.bbappend12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
new file mode 100644
index 0000000..cc9c286
--- /dev/null
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -0,0 +1,12 @@
+# cope with the wrong order of _append and and _pn-mesa
+# in conf/distro/include/angstrom-mesa-tweaks.inc
+
+# add the original mesa PACKAGECONFIG settings
+PACKAGECONFIG_pn-mesa_append = " gbm egl gles dri ${MESA_CRYPTO} ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} "
+
+# meta-freescale/recipes-graphics/mesa/mesa_%.bbappend
+PACKAGECONFIG_pn-mesa_remove_imxgpu2d = "egl gles"
+
+# meta-toradex-tegra/recipes-graphics/mesa/mesa_%.bbappend
+PACKAGECONFIG_pn-mesa_remove_tegra = "egl gles"
+PACKAGECONFIG_pn-mesa_append_tegra124m = " dri3 egl gles gallium gbm "