]> code.ossystems Code Review - meta-freescale.git/commitdiff
cairo: Stop using base_contains
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 4 May 2016 23:06:30 +0000 (20:06 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 16 May 2016 20:06:51 +0000 (17:06 -0300)
The base_contains function is deprecated and we ought to use
bb.utils.contains instead.

Change-Id: I5da85f2d0e2ec85065d5ab25336f838728c36d83
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/cairo/cairo_%.bbappend

index 66e019aa4f46b9120e5f9ea643c752946eeae123..6f9e09d2bddff60de665cc18a25166d7457ba870 100644 (file)
@@ -1,6 +1,6 @@
 CFLAGS_append_mx6 = " -DLINUX \
-                      ${@base_contains('DISTRO_FEATURES', 'x11', '', \
-                                        base_contains('DISTRO_FEATURES', 'wayland', \
+                      ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
+                                        bb.utils.contains('DISTRO_FEATURES', 'wayland', \
                                                       '-DEGL_API_FB -DEGL_API_WL',  '-DEGL_API_FB', d), d)}"
 
 PACKAGECONFIG_append_mx6q = " egl glesv2"