diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2016-05-04 20:06:30 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-05-16 17:06:51 -0300 |
| commit | 290daeea6dae8b2097ab07be727271f2d68ff166 (patch) | |
| tree | 28016c38917695c1368f9c6ca581bf0381c4a80f | |
| parent | d2ae870097cb693ff87e476ca90bdfc2c910b01d (diff) | |
| download | meta-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>
| -rw-r--r-- | recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc | 8 |
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 38099cd3b..4ad7a029a 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" | |||
| 7 | LICENSE = "Proprietary" | 7 | LICENSE = "Proprietary" |
| 8 | LIC_FILES_CHKSUM = "file://gpu-core/usr/include/gc_vdk.h;beginline=5;endline=11;md5=12c028cbbbedb4b8770267131500592c" | 8 | LIC_FILES_CHKSUM = "file://gpu-core/usr/include/gc_vdk.h;beginline=5;endline=11;md5=12c028cbbbedb4b8770267131500592c" |
| 9 | 9 | ||
| 10 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \ | 10 | DEPENDS += "${@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 | ||
| 56 | HAS_X11 = "${@base_contains("DISTRO_FEATURES", "x11", "yes", "no", d)}" | 56 | HAS_X11 = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "yes", "no", d)}" |
| 57 | HAS_WL = "${@base_contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}" | 57 | HAS_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. |
| 60 | INHIBIT_PACKAGE_STRIP = "1" | 60 | INHIBIT_PACKAGE_STRIP = "1" |
