From: Otavio Salvador Date: Wed, 4 May 2016 23:06:30 +0000 (-0300) Subject: piglit: Stop using base_contains X-Git-Tag: 2.2~458 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d0137bfa947ba3646d17fd2ac9ed65d8b3c685e5;p=meta-freescale.git piglit: Stop using base_contains The base_contains function is deprecated and we ought to use bb.utils.contains instead. Change-Id: If57d2b5c73e6a495a8b0453b88539424a384ccc4 Signed-off-by: Otavio Salvador --- diff --git a/recipes-graphics/piglit/piglit_git.bbappend b/recipes-graphics/piglit/piglit_git.bbappend index 316bec99..d682c8c5 100644 --- a/recipes-graphics/piglit/piglit_git.bbappend +++ b/recipes-graphics/piglit/piglit_git.bbappend @@ -2,6 +2,6 @@ DEPENDS_append_mx6 = " virtual/egl" # Provide the need flags and backend settings to work with Vivante GPU CFLAGS_append_mx6 = " -DLINUX \ - ${@base_contains('DISTRO_FEATURES', 'x11', '-DEGL_API_FB', \ - base_contains('DISTRO_FEATURES', 'wayland', \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '-DEGL_API_FB', \ + bb.utils.contains('DISTRO_FEATURES', 'wayland', \ '-DEGL_API_WL', '', d), d)}"