From a749b98c4911ef39d0ea11f7324aa436583bdf3a Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Wed, 4 May 2016 20:06:30 -0300 Subject: [PATCH] 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 --- recipes-graphics/cogl/cogl-1.0_%.bbappend | 8 ++++---- 1 file 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 @@ # 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)}" -- 2.40.1