]> code.ossystems Code Review - meta-freescale.git/commitdiff
piglit: 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: If57d2b5c73e6a495a8b0453b88539424a384ccc4
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/piglit/piglit_git.bbappend

index 316bec999caa9e8d01b87c0a7b85a4f90f10001f..d682c8c516bc8940841482366c096fa7e975871c 100644 (file)
@@ -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)}"