[PATCH 15/26] weston-init: Remove OpenGL requirement for i.MX 6SL


Otavio Salvador
 

From: Tom Hochstein <tom.hochstein@...>

For parts with 2D GPU but not 3D GPU, OpenGL is not required.

Signed-off-by: Tom Hochstein <tom.hochstein@...>
Signed-off-by: Otavio Salvador <otavio@...>
---

Changes in v4: None
Changes in v3: None
Changes in v2: None

recipes-graphics/wayland/weston-init.bbappend | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 recipes-graphics/wayland/weston-init.bbappend

diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend
new file mode 100644
index 00000000..ce1482d9
--- /dev/null
+++ b/recipes-graphics/wayland/weston-init.bbappend
@@ -0,0 +1,5 @@
+# OpenGL is not required for parts with GPU support for 2D but not 3D
+IMX_REQUIRED_DISTRO_FEATURES_REMOVE = ""
+IMX_REQUIRED_DISTRO_FEATURES_REMOVE_imxgpu2d = "opengl"
+IMX_REQUIRED_DISTRO_FEATURES_REMOVE_imxgpu3d = ""
+REQUIRED_DISTRO_FEATURES_remove = "${IMX_REQUIRED_DISTRO_FEATURES_REMOVE}"
--
2.18.0

Join {meta-freescale@lists.yoctoproject.org to automatically receive all group messages.