[meta-freescale] [meta-fsl-arm PATCH 11/14] piglit: Stop using base_contains
Otavio Salvador
otavio at ossystems.com.br
Wed May 4 16:12:03 PDT 2016
The base_contains function is deprecated and we ought to use
bb.utils.contains instead.
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
recipes-graphics/piglit/piglit_git.bbappend | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes-graphics/piglit/piglit_git.bbappend b/recipes-graphics/piglit/piglit_git.bbappend
index 316bec9..d682c8c 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)}"
--
2.8.2
More information about the meta-freescale
mailing list