summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
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-16 17:06:51 -0300
commit290daeea6dae8b2097ab07be727271f2d68ff166 (patch)
tree28016c38917695c1368f9c6ca581bf0381c4a80f /recipes-graphics
parentd2ae870097cb693ff87e476ca90bdfc2c910b01d (diff)
downloadmeta-freescale-290daeea6dae8b2097ab07be727271f2d68ff166.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>
Diffstat (limited to 'recipes-graphics')
-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 38099cd3..4ad7a029 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"