From: Otavio Salvador Date: Wed, 4 May 2016 23:06:30 +0000 (-0300) Subject: cogl-1.0: Stop using base_contains X-Git-Tag: 2.2~461 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a749b98c4911ef39d0ea11f7324aa436583bdf3a;p=meta-freescale.git 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 --- 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 @@ # Provide the need flags and backend settings to work with Vivante GPU 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_WL -DEGL_API_FB', '', d), d)}" PACKAGECONFIG_mx6 ??= "cogl-pango gles2 \ - ${@base_contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ - base_contains('DISTRO_FEATURES', 'wayland', \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ + bb.utils.contains('DISTRO_FEATURES', 'wayland', \ 'egl-wayland', '', d), d)}"