summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/qt5-layer
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2016-05-04 20:06:30 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2016-05-16 17:06:51 -0300
commitbdd2df483cfb33a4d43cbf04a3f8265e263cdc00 (patch)
tree5bc659f7f25754c7dd32e8279e960058fc707cae /dynamic-layers/qt5-layer
parent488c53ab247ad7281cba046986a48dd167a15ffb (diff)
downloadmeta-freescale-bdd2df483cfb33a4d43cbf04a3f8265e263cdc00.tar.gz
qtbase: Stop using base_contains
The base_contains function is deprecated and we ought to use bb.utils.contains instead. Change-Id: Ib53b854f79f45ecd75da9f5c07a276465f2675fb Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'dynamic-layers/qt5-layer')
-rw-r--r--dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend12
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 b18bf171..d336c0f9 100644
--- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
+++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
@@ -1,6 +1,6 @@
1# Copyright (C) 2013 Eric Bénard - Eukréa Electromatique 1# Copyright (C) 2013 Eric Bénard - Eukréa Electromatique
2 2
3HAS_X11 = "${@base_contains('DISTRO_FEATURES', 'x11', 1, 0, d)}" 3HAS_X11 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 1, 0, d)}"
4 4
5IS_MX6SL = "0" 5IS_MX6SL = "0"
6IS_MX6SL_mx6sl = "1" 6IS_MX6SL_mx6sl = "1"
@@ -8,11 +8,11 @@ IS_MX6SL_mx6sl = "1"
8PACKAGECONFIG_GL_mx6q = "gles2" 8PACKAGECONFIG_GL_mx6q = "gles2"
9PACKAGECONFIG_GL_mx6dl = "gles2" 9PACKAGECONFIG_GL_mx6dl = "gles2"
10PACKAGECONFIG_GL_mx6sx = "gles2" 10PACKAGECONFIG_GL_mx6sx = "gles2"
11PACKAGECONFIG_GL_mx6sl = "${@base_contains('DISTRO_FEATURES', 'x11', ' gl', '', d)}" 11PACKAGECONFIG_GL_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)}"
12QT_CONFIG_FLAGS_append_mx6q = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" 12QT_CONFIG_FLAGS_append_mx6q = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}"
13QT_CONFIG_FLAGS_append_mx6dl = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" 13QT_CONFIG_FLAGS_append_mx6dl = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}"
14QT_CONFIG_FLAGS_append_mx6sx = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" 14QT_CONFIG_FLAGS_append_mx6sx = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}"
15QT_CONFIG_FLAGS_append_mx6sl = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', \ 15QT_CONFIG_FLAGS_append_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', \
16 ' -no-opengl -linuxfb -no-eglfs', d)}" 16 ' -no-opengl -linuxfb -no-eglfs', d)}"
17 17
18do_configure_prepend_mx6() { 18do_configure_prepend_mx6() {