]> code.ossystems Code Review - meta-freescale.git/commitdiff
gtk+3: 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: Ie59e062e6ff8cbb47a14f66635acef8dc1e0a0a1
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/gtk+/gtk+3_%.bbappend

index 649ebd8cba385ae5a8480ae8a59e3b1fe502ff26..0076d29257d5114a689d2a4f262a2598ee47ce0d 100644 (file)
@@ -1,6 +1,6 @@
-PACKAGECONFIG_remove_mx6 = "${@base_contains("DISTRO_FEATURES", "x11", "wayland", "", d)}"
+PACKAGECONFIG_remove_mx6 = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "wayland", "", d)}"
 
 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',  '', d), d)}"