summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
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
commita749b98c4911ef39d0ea11f7324aa436583bdf3a (patch)
treea0c98c1ea952cd8d3f14b3eec60f8196d89501a9 /recipes-graphics
parent67d69d69f6e0c687175f82536f78bd0f646c2cef (diff)
downloadmeta-freescale-a749b98c4911ef39d0ea11f7324aa436583bdf3a.tar.gz
cogl-1.0: Stop using base_contains
The base_contains function is deprecated and we ought to use bb.utils.contains instead. Change-Id: I4dc17aed67876114695128787af68dcfc1ff8654 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/cogl/cogl-1.0_%.bbappend8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-graphics/cogl/cogl-1.0_%.bbappend b/recipes-graphics/cogl/cogl-1.0_%.bbappend
index f77581df..102461d6 100644
--- a/recipes-graphics/cogl/cogl-1.0_%.bbappend
+++ b/recipes-graphics/cogl/cogl-1.0_%.bbappend
@@ -1,10 +1,10 @@
1# Provide the need flags and backend settings to work with Vivante GPU 1# Provide the need flags and backend settings to work with Vivante GPU
2CFLAGS_append_mx6 = " -DLINUX \ 2CFLAGS_append_mx6 = " -DLINUX \
3 ${@base_contains('DISTRO_FEATURES', 'x11', '', \ 3 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
4 base_contains('DISTRO_FEATURES', 'wayland', \ 4 bb.utils.contains('DISTRO_FEATURES', 'wayland', \
5 '-DEGL_API_WL -DEGL_API_FB', '', d), d)}" 5 '-DEGL_API_WL -DEGL_API_FB', '', d), d)}"
6 6
7PACKAGECONFIG_mx6 ??= "cogl-pango gles2 \ 7PACKAGECONFIG_mx6 ??= "cogl-pango gles2 \
8 ${@base_contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ 8 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \
9 base_contains('DISTRO_FEATURES', 'wayland', \ 9 bb.utils.contains('DISTRO_FEATURES', 'wayland', \
10 'egl-wayland', '', d), d)}" 10 'egl-wayland', '', d), d)}"