[meta-freescale] [meta-fsl-arm][PATCH 4/5] Enable Vivante kernel driver dynamic provider

Daiane Angolini daiane.list at gmail.com
Wed Aug 19 08:03:49 PDT 2015


On Wed, Aug 19, 2015 at 6:26 AM, Otavio Salvador
<otavio at ossystems.com.br> wrote:
> The linux-imx.inc based kernels now can dynamically provide the
> Vivante kernel driver and satisfy the runtime dependency added for the
> Vivante GPU user space libraries. The beauty of this solution is that
> it makes ease for 3rd party kernel to reuse the same infrastructure
> and use the external module easily.
>
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
>  recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc | 1 +
>  recipes-kernel/linux/linux-imx.inc           | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
> index 5de8a3d..b21e9b3 100644
> --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
> +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
> @@ -260,6 +260,7 @@ FILES_libegl-mx6-dbg = "${libdir}/.debug/libEGL${SOLIBS}"
>  FILES_libgal-mx6 = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}"
>  FILES_libgal-mx6-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL"
>  FILES_libgal-mx6-dbg = "${libdir}/.debug/libGAL${SOLIBS}"
> +RDEPENDS_libgal-mx6 += "kernel-module-imx-gpu-viv"

Let me think, it look works (-mx6) because the imx-gpu-viv recipe is
only compatible with gpu socs and for a gpuless soc it will never be
used, right?


>
>  FILES_libvsc-mx6 = "${libdir}/libVSC${SOLIBS}"
>
> diff --git a/recipes-kernel/linux/linux-imx.inc b/recipes-kernel/linux/linux-imx.inc
> index d790227..4835e78 100644
> --- a/recipes-kernel/linux/linux-imx.inc
> +++ b/recipes-kernel/linux/linux-imx.inc
> @@ -4,7 +4,7 @@
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
>
> -inherit kernel fsl-kernel-localversion
> +inherit kernel fsl-kernel-localversion fsl-vivante-kernel-driver-handler
>
>  # Put a local version until we have a true SRCREV to point to
>  LOCALVERSION ?= ""
> --
> 2.5.0
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list