diff options
| author | Neena Busireddy <neena.busireddy@freescale.com> | 2014-09-09 21:06:45 -0500 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-09-15 09:34:38 -0300 |
| commit | 4be77c1f10b44cd51b6ff416e2eb99253bb6b2c9 (patch) | |
| tree | c8002aba51d40fb420cb50e6f89b369d176b2f9a | |
| parent | 8e476a5c2299a438fd920a19d3ed18fb68acc167 (diff) | |
| download | meta-freescale-4be77c1f10b44cd51b6ff416e2eb99253bb6b2c9.tar.gz | |
qtbase: Include Sololite changes.
Sololite x11 backend only supports mesa software rendering GL but
does not support GLES. Sololite non-x11 backends (fb, wayland
and dfb) do not support GL and GLES.
Change qtbase recipe to support sololite qt for all backends.
Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend index 20fc15fea..64966c292 100644 --- a/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend +++ b/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | |||
| @@ -6,12 +6,21 @@ SRC_URI += "file://Force_egl_visual_ID_33.patch" | |||
| 6 | 6 | ||
| 7 | HAS_X11 = "${@base_contains('DISTRO_FEATURES', 'x11', 1, 0, d)}" | 7 | HAS_X11 = "${@base_contains('DISTRO_FEATURES', 'x11', 1, 0, d)}" |
| 8 | 8 | ||
| 9 | IS_MX6SL = "0" | ||
| 10 | IS_MX6SL_mx6sl = "1" | ||
| 11 | |||
| 9 | PACKAGECONFIG_GL_mx5 = "gles2" | 12 | PACKAGECONFIG_GL_mx5 = "gles2" |
| 10 | PACKAGECONFIG_append_mx5 = " tslib icu examples" | 13 | PACKAGECONFIG_append_mx5 = " tslib icu examples" |
| 11 | 14 | ||
| 12 | PACKAGECONFIG_GL_mx6 = "gles2" | 15 | PACKAGECONFIG_GL_mx6q = "gles2" |
| 16 | PACKAGECONFIG_GL_mx6dl = "gles2" | ||
| 17 | PACKAGECONFIG_GL_mx6sl = "${@base_contains('DISTRO_FEATURES', 'x11', \ | ||
| 18 | ' gl', '', d)}" | ||
| 13 | PACKAGECONFIG_append_mx6 = " tslib icu examples" | 19 | PACKAGECONFIG_append_mx6 = " tslib icu examples" |
| 14 | QT_CONFIG_FLAGS_append_mx6 = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" | 20 | QT_CONFIG_FLAGS_append_mx6q = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" |
| 21 | QT_CONFIG_FLAGS_append_mx6dl = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" | ||
| 22 | QT_CONFIG_FLAGS_append_mx6sl = "${@base_contains('DISTRO_FEATURES', 'x11', \ | ||
| 23 | ' -no-eglfs', ' -no-opengl -linuxfb -no-icu -no-eglfs', d)}" | ||
| 15 | 24 | ||
| 16 | do_configure_prepend_mx5() { | 25 | do_configure_prepend_mx5() { |
| 17 | sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf | 26 | sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf |
| @@ -36,10 +45,17 @@ do_configure_prepend_mx6() { | |||
| 36 | # adapt qmake.conf to our needs | 45 | # adapt qmake.conf to our needs |
| 37 | sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf | 46 | sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf |
| 38 | if test ${HAS_X11} -eq 0; then | 47 | if test ${HAS_X11} -eq 0; then |
| 48 | if test ${IS_MX6SL} -eq 0; then | ||
| 49 | |||
| 39 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF | 50 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF |
| 40 | EGLFS_PLATFORM_HOOKS_SOURCES = \$\$PWD/qeglfshooks_imx6.cpp | 51 | EGLFS_PLATFORM_HOOKS_SOURCES = \$\$PWD/qeglfshooks_imx6.cpp |
| 41 | IMX6_CFLAGS = -DLINUX=1 -DEGL_API_FB=1 | 52 | IMX6_CFLAGS = -DLINUX=1 -DEGL_API_FB=1 |
| 42 | EOF | 53 | EOF |
| 54 | else | ||
| 55 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF | ||
| 56 | IMX6_CFLAGS = -DLINUX=1 | ||
| 57 | EOF | ||
| 58 | fi | ||
| 43 | # copy the hook in the mkspecs directory OE is using | 59 | # copy the hook in the mkspecs directory OE is using |
| 44 | cp ${S}/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp ${S}/mkspecs/linux-oe-g++/ | 60 | cp ${S}/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp ${S}/mkspecs/linux-oe-g++/ |
| 45 | else | 61 | else |
