[meta-freescale] [PATCH v2 1/4] qtbase: Correct eglfs configuration in wayland backend

Yuqing Zhu carol.zhu at nxp.com
Tue Dec 5 01:29:22 PST 2017


-eglfs is conditioned on GPU3D with FrameBuffer only

Signed-off-by: Yuqing Zhu <carol.zhu at nxp.com>
---
 dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
index a0bb301..8277d52 100644
--- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
+++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
@@ -21,8 +21,11 @@ PACKAGECONFIG_GL_imxgpu3d = "gles2"
 PACKAGECONFIG_GL_use-mainline-bsp  = "gles2 kms"
 
 QT_CONFIG_FLAGS_APPEND = ""
-QT_CONFIG_FLAGS_APPEND_imxpxp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-eglfs', d)}"
+QT_CONFIG_FLAGS_APPEND_imxpxp = "-no-eglfs"
 QT_CONFIG_FLAGS_APPEND_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-no-opengl -linuxfb -no-eglfs', d)}"
-QT_CONFIG_FLAGS_APPEND_imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-eglfs', d)}"
+QT_CONFIG_FLAGS_APPEND_imxgpu3d = "\
+    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', \
+        bb.utils.contains('DISTRO_FEATURES', 'wayland', '-no-eglfs', \
+            '-eglfs', d), d)}"
 QT_CONFIG_FLAGS_APPEND_use-mainline-bsp =  "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-eglfs', d)}"
 QT_CONFIG_FLAGS_append = " ${QT_CONFIG_FLAGS_APPEND}"
-- 
1.9.1



More information about the meta-freescale mailing list