diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2018-11-05 14:28:42 -0600 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-11-06 10:16:34 -0200 |
commit | 6c67c9e2d6921fab13362c8a331a8079f89b9a5e (patch) | |
tree | 71168e8710f631ba915f37568c947ca54f54bd08 | |
parent | e6fb7ea9e0a2bd4d2d04bcc1468a9136b49065b3 (diff) | |
download | meta-freescale-6c67c9e2d6921fab13362c8a331a8079f89b9a5e.tar.gz |
qtbase: Refactor configuration
Replace QT_CONFIG_FLAGS with PACKAGECONFIG
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
-rw-r--r-- | dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend index ca580392..4b39f610 100644 --- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend +++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | |||
@@ -22,14 +22,14 @@ 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 | PACKAGECONFIG_PLATFORM = "" |
26 | QT_CONFIG_FLAGS_APPEND_imxgpu2d = "-no-opengl -linuxfb" | 26 | PACKAGECONFIG_PLATFORM_imxgpu2d = "no-opengl linuxfb" |
27 | QT_CONFIG_FLAGS_APPEND_imxgpu3d = " \ | 27 | PACKAGECONFIG_PLATFORM_imxgpu3d = " \ |
28 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ | 28 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ |
29 | bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ | 29 | bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ |
30 | '-eglfs', d), d)}" | 30 | 'eglfs', d), d)}" |
31 | QT_CONFIG_FLAGS_APPEND_use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-eglfs', d)}" | 31 | PACKAGECONFIG_PLATFORM_use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'eglfs', d)}" |
32 | QT_CONFIG_FLAGS_append = " ${QT_CONFIG_FLAGS_APPEND}" | 32 | PACKAGECONFIG += "${PACKAGECONFIG_PLATFORM}" |
33 | 33 | ||
34 | QT_CONFIG_FLAGS += \ | 34 | QT_CONFIG_FLAGS += \ |
35 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-qpa wayland', \ | 35 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-qpa wayland', \ |