diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2016-05-04 20:06:30 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-05-16 17:06:51 -0300 |
commit | bdd2df483cfb33a4d43cbf04a3f8265e263cdc00 (patch) | |
tree | 5bc659f7f25754c7dd32e8279e960058fc707cae /dynamic-layers/qt5-layer | |
parent | 488c53ab247ad7281cba046986a48dd167a15ffb (diff) | |
download | meta-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_%.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 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 | ||
3 | HAS_X11 = "${@base_contains('DISTRO_FEATURES', 'x11', 1, 0, d)}" | 3 | HAS_X11 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 1, 0, d)}" |
4 | 4 | ||
5 | IS_MX6SL = "0" | 5 | IS_MX6SL = "0" |
6 | IS_MX6SL_mx6sl = "1" | 6 | IS_MX6SL_mx6sl = "1" |
@@ -8,11 +8,11 @@ IS_MX6SL_mx6sl = "1" | |||
8 | PACKAGECONFIG_GL_mx6q = "gles2" | 8 | PACKAGECONFIG_GL_mx6q = "gles2" |
9 | PACKAGECONFIG_GL_mx6dl = "gles2" | 9 | PACKAGECONFIG_GL_mx6dl = "gles2" |
10 | PACKAGECONFIG_GL_mx6sx = "gles2" | 10 | PACKAGECONFIG_GL_mx6sx = "gles2" |
11 | PACKAGECONFIG_GL_mx6sl = "${@base_contains('DISTRO_FEATURES', 'x11', ' gl', '', d)}" | 11 | PACKAGECONFIG_GL_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)}" |
12 | QT_CONFIG_FLAGS_append_mx6q = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" | 12 | QT_CONFIG_FLAGS_append_mx6q = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" |
13 | QT_CONFIG_FLAGS_append_mx6dl = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" | 13 | QT_CONFIG_FLAGS_append_mx6dl = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" |
14 | QT_CONFIG_FLAGS_append_mx6sx = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" | 14 | QT_CONFIG_FLAGS_append_mx6sx = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" |
15 | QT_CONFIG_FLAGS_append_mx6sl = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', \ | 15 | QT_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 | ||
18 | do_configure_prepend_mx6() { | 18 | do_configure_prepend_mx6() { |