diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2013-04-20 14:15:59 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2013-04-23 09:30:40 -0300 |
| commit | 74ed3ef0c98084a81542fc4df912c29a98ea51d2 (patch) | |
| tree | 2f8c56beed3c56d57f86e8ac23084170cc609fe3 | |
| parent | baa1848452dc076b5823a5800dc51b021d5a7032 (diff) | |
| download | meta-freescale-74ed3ef0c98084a81542fc4df912c29a98ea51d2.tar.gz | |
gpu-viv-bin-mx6q: Package DRI module
The DRI module is dlopen by GLX code so we need to have it packaged.
Change-Id: Iabd579873a6ec26e9c7c6d8ab82e8461d5b83c38
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc index 44f6fc949..97cebfd25 100644 --- a/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc +++ b/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | # Copyright (C) 2012 Freescale Semiconductor | 1 | # Copyright (C) 2012-2013 Freescale Semiconductor |
| 2 | # Copyright (C) 2012-2013 O.S. Systems Software LTDA. | ||
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | 4 | ||
| 4 | DESCRIPTION = "GPU driver and apps for imx6" | 5 | DESCRIPTION = "GPU driver and apps for imx6" |
| @@ -27,6 +28,7 @@ PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \ | |||
| 27 | libegl-mx6 libegl-mx6-dev libegl-mx6-dbg \ | 28 | libegl-mx6 libegl-mx6-dev libegl-mx6-dbg \ |
| 28 | libgal-mx6 libgal-mx6-dev libgal-mx6-dbg \ | 29 | libgal-mx6 libgal-mx6-dev libgal-mx6-dbg \ |
| 29 | libvivante-mx6 libvivante-mx6-dev libvivante-mx6-dbg \ | 30 | libvivante-mx6 libvivante-mx6-dev libvivante-mx6-dbg \ |
| 31 | libvivante-dri-mx6 \ | ||
| 30 | " | 32 | " |
| 31 | 33 | ||
| 32 | USE_X11 = "${@base_contains("DISTRO_FEATURES", "x11", "yes", "no", d)}" | 34 | USE_X11 = "${@base_contains("DISTRO_FEATURES", "x11", "yes", "no", d)}" |
| @@ -58,6 +60,7 @@ do_install () { | |||
| 58 | cp -axr ${S}/opt ${D} | 60 | cp -axr ${S}/opt ${D} |
| 59 | 61 | ||
| 60 | if [ "${USE_X11}" = "yes" ]; then | 62 | if [ "${USE_X11}" = "yes" ]; then |
| 63 | cp -r ${S}/usr/lib/dri ${D}${libdir} | ||
| 61 | find ${D}${libdir} -name '*-dfb.so' -exec rm '{}' ';' | 64 | find ${D}${libdir} -name '*-dfb.so' -exec rm '{}' ';' |
| 62 | find ${D}${libdir} -name '*-fb.so' -exec rm '{}' ';' | 65 | find ${D}${libdir} -name '*-fb.so' -exec rm '{}' ';' |
| 63 | else | 66 | else |
| @@ -140,5 +143,7 @@ FILES_libvivante-mx6 = "${libdir}/libVIVANTE${SOLIBS}" | |||
| 140 | FILES_libvivante-mx6-dev = "${libdir}/libVIVANTE${SOLIBSDEV}" | 143 | FILES_libvivante-mx6-dev = "${libdir}/libVIVANTE${SOLIBSDEV}" |
| 141 | FILES_libvivante-mx6-dbg = "${libdir}/.debug/libVIVANTE${SOLIBS}" | 144 | FILES_libvivante-mx6-dbg = "${libdir}/.debug/libVIVANTE${SOLIBS}" |
| 142 | 145 | ||
| 146 | FILES_libvivante-dri-mx6 = "${libdir}/dri/vivante_dri.so" | ||
| 147 | |||
| 143 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 148 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 144 | COMPATIBLE_MACHINE = "(mx6)" | 149 | COMPATIBLE_MACHINE = "(mx6)" |
