summaryrefslogtreecommitdiffstats
path: root/dynamic-layers
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2018-10-11 12:17:08 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2018-11-06 10:16:34 -0200
commitdd1e2f113924c97d0ec6b3d3d6813550acaa3be7 (patch)
tree411c8a80e8f36e773eb6eec58a12878a908dd5b7 /dynamic-layers
parent33a9e621812db54613408da065fa1b3aeb0f1aa8 (diff)
downloadmeta-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>
Diffstat (limited to 'dynamic-layers')
-rw-r--r--dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend11
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
22PACKAGECONFIG_GL_imxgpu3d = "gles2" 22PACKAGECONFIG_GL_imxgpu3d = "gles2"
23PACKAGECONFIG_GL_append_use-mainline-bsp = " gbm kms" 23PACKAGECONFIG_GL_append_use-mainline-bsp = " gbm kms"
24 24
25QT_CONFIG_FLAGS_APPEND = "" 25QT_CONFIG_FLAGS_APPEND = ""
26QT_CONFIG_FLAGS_APPEND_imxpxp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-eglfs', d)}" 26QT_CONFIG_FLAGS_APPEND_imxpxp = "-no-eglfs"
27QT_CONFIG_FLAGS_APPEND_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-no-opengl -linuxfb -no-eglfs', d)}" 27QT_CONFIG_FLAGS_APPEND_imxgpu2d = "-no-eglfs -no-opengl -linuxfb"
28QT_CONFIG_FLAGS_APPEND_imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-eglfs', d)}" 28QT_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)}"
29QT_CONFIG_FLAGS_APPEND_use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-eglfs', d)}" 32QT_CONFIG_FLAGS_APPEND_use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-no-eglfs', '-eglfs', d)}"
30QT_CONFIG_FLAGS_append = " ${QT_CONFIG_FLAGS_APPEND}" 33QT_CONFIG_FLAGS_append = " ${QT_CONFIG_FLAGS_APPEND}"
31 34