diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2018-10-11 12:17:08 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-11-06 10:16:34 -0200 |
commit | dd1e2f113924c97d0ec6b3d3d6813550acaa3be7 (patch) | |
tree | 411c8a80e8f36e773eb6eec58a12878a908dd5b7 | |
parent | 33a9e621812db54613408da065fa1b3aeb0f1aa8 (diff) | |
download | meta-freescale-dd1e2f113924c97d0ec6b3d3d6813550acaa3be7.tar.gz |
qtbase: Fix QT_CONFIG_FLAGS for non-mainline-bsp
- Enable eglfs only for 3D parts and framebuffer backend
- Disable opengl and enable linuxfb for 2D parts with no 3D
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
-rw-r--r-- | dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend index d6f3b109..7d9b775b 100644 --- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend +++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | |||
@@ -22,10 +22,13 @@ PACKAGECONFIG_GL_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl | |||
22 | PACKAGECONFIG_GL_imxgpu3d = "gles2" | 22 | PACKAGECONFIG_GL_imxgpu3d = "gles2" |
23 | PACKAGECONFIG_GL_append_use-mainline-bsp = " gbm kms" | 23 | PACKAGECONFIG_GL_append_use-mainline-bsp = " gbm kms" |
24 | 24 | ||
25 | QT_CONFIG_FLAGS_APPEND = "" | 25 | QT_CONFIG_FLAGS_APPEND = "" |
26 | QT_CONFIG_FLAGS_APPEND_imxpxp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-eglfs', d)}" | 26 | QT_CONFIG_FLAGS_APPEND_imxpxp = "-no-eglfs" |
27 | QT_CONFIG_FLAGS_APPEND_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-no-opengl -linuxfb -no-eglfs', d)}" | 27 | QT_CONFIG_FLAGS_APPEND_imxgpu2d = "-no-eglfs -no-opengl -linuxfb" |
28 | QT_CONFIG_FLAGS_APPEND_imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-eglfs', d)}" | 28 | QT_CONFIG_FLAGS_APPEND_imxgpu3d = " \ |
29 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', \ | ||
30 | bb.utils.contains('DISTRO_FEATURES', 'wayland', '-no-eglfs', \ | ||
31 | '-eglfs', d), d)}" | ||
29 | QT_CONFIG_FLAGS_APPEND_use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-eglfs', d)}" | 32 | QT_CONFIG_FLAGS_APPEND_use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-eglfs', d)}" |
30 | QT_CONFIG_FLAGS_append = " ${QT_CONFIG_FLAGS_APPEND}" | 33 | QT_CONFIG_FLAGS_append = " ${QT_CONFIG_FLAGS_APPEND}" |
31 | 34 | ||