aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2018-06-25 21:11:44 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2018-07-05 15:49:49 -0300
commit9f923b3eb950759d323f321847c80055a6a37290 (patch)
tree41578c6ca160c36250f0c65a736c48853bb6ea60
parent4705f2f8f7c0f238d0232af2759018b3b29662ed (diff)
downloadmeta-freescale-9f923b3eb950759d323f321847c80055a6a37290.tar.gz
meta-freescale-9f923b3eb950759d323f321847c80055a6a37290.tar.bz2
meta-freescale-9f923b3eb950759d323f321847c80055a6a37290.zip
weston-init: Remove OpenGL requirement for i.MX 6SL
For parts with 2D GPU but not 3D GPU, OpenGL is not required. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 3650dc2b1d17ea3d3c0388a890592f89c47d84de)
-rw-r--r--recipes-graphics/wayland/weston-init.bbappend5
1 files changed, 5 insertions, 0 deletions
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}"