]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-viv: 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: I664e44c58060ff50baa3c58c9494787448b9ecfd
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc

index 38099cd3b79c10c5177750cb6a144645d977014d..4ad7a029a25af5f139eb245f86867f8826bc7b32 100644 (file)
@@ -7,8 +7,8 @@ SECTION = "libs"
 LICENSE = "Proprietary"
 LIC_FILES_CHKSUM = "file://gpu-core/usr/include/gc_vdk.h;beginline=5;endline=11;md5=12c028cbbbedb4b8770267131500592c"
 
-DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \
-                             base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \
+DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \
+                             bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
                                            '', d), d)} \
             libpng"
 
@@ -53,8 +53,8 @@ python __anonymous () {
                 raise bb.parse.SkipPackage('The kernel of machine needs to have Vivante kernel driver support for this recipe to be used.')
 }
 
-HAS_X11 = "${@base_contains("DISTRO_FEATURES", "x11", "yes", "no", d)}"
-HAS_WL = "${@base_contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}"
+HAS_X11 = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "yes", "no", d)}"
+HAS_WL = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}"
 
 # Inhibit warnings about files being stripped.
 INHIBIT_PACKAGE_STRIP = "1"