summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2016-05-04 20:06:30 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2016-05-30 08:31:13 -0300
commit856961b372423b1d73b313e41fc410709dcd731f (patch)
treee5b0ca76479c83db7fc4598be6066ab283205cb9
parent87248f5529e68b232d3eda73bebe7151ae32e17f (diff)
downloadmeta-fsl-arm-856961b372423b1d73b313e41fc410709dcd731f.tar.gz
imx-gpu-viv: Stop using base_contains
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>
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
index 38099cd..4ad7a02 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
@@ -7,8 +7,8 @@ SECTION = "libs"
7LICENSE = "Proprietary" 7LICENSE = "Proprietary"
8LIC_FILES_CHKSUM = "file://gpu-core/usr/include/gc_vdk.h;beginline=5;endline=11;md5=12c028cbbbedb4b8770267131500592c" 8LIC_FILES_CHKSUM = "file://gpu-core/usr/include/gc_vdk.h;beginline=5;endline=11;md5=12c028cbbbedb4b8770267131500592c"
9 9
10DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \ 10DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \
11 base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \ 11 bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
12 '', d), d)} \ 12 '', d), d)} \
13 libpng" 13 libpng"
14 14
@@ -53,8 +53,8 @@ python __anonymous () {
53 raise bb.parse.SkipPackage('The kernel of machine needs to have Vivante kernel driver support for this recipe to be used.') 53 raise bb.parse.SkipPackage('The kernel of machine needs to have Vivante kernel driver support for this recipe to be used.')
54} 54}
55 55
56HAS_X11 = "${@base_contains("DISTRO_FEATURES", "x11", "yes", "no", d)}" 56HAS_X11 = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "yes", "no", d)}"
57HAS_WL = "${@base_contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}" 57HAS_WL = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}"
58 58
59# Inhibit warnings about files being stripped. 59# Inhibit warnings about files being stripped.
60INHIBIT_PACKAGE_STRIP = "1" 60INHIBIT_PACKAGE_STRIP = "1"