From 9356268bfb444b74a88491fca7a9d268ed72b561 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Tue, 6 Sep 2016 11:59:55 -0300 Subject: qtbase: Enable support for i.MX SoCs with PXP This enables the use of GLES2 backend for Software Rendering allowing SoCs without GPU support to use it. Up to now, this includes i.MX6UL and i.MX7D. Change-Id: I3011a84198d42744639121394423106fcfc738b3 Signed-off-by: Otavio Salvador --- qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend index 3b99886..a693fb2 100644 --- a/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend +++ b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend @@ -6,10 +6,12 @@ HAS_X11 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 1, 0, d)}" IMXGPU_imxgpu3d = "3d" IMXGPU_imxgpu2d = "2d" +PACKAGECONFIG_GL_imxpxp = "gles2" PACKAGECONFIG_GL_imxgpu3d = "gles2" PACKAGECONFIG_GL_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)}" QT_CONFIG_FLAGS_APPEND = "" +QT_CONFIG_FLAGS_APPEND_imxpxp = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" 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 = " ${QT_CONFIG_FLAGS_APPEND}" -- cgit v1.2.3-54-g00ecf