diff options
author | Neena Busireddy <neena.busireddy@freescale.com> | 2014-08-27 13:47:09 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-11-10 18:55:23 -0200 |
commit | 8690c5b2309a36ba59efeaa2ff8ea3a3fce84ca7 (patch) | |
tree | d2251c5aa3afc8d85ba8fcac051109b032e1fe6f /recipes-graphics | |
parent | 547d55d2577b60e72cd3523caaf83df65e053a10 (diff) | |
download | meta-fsl-arm-8690c5b2309a36ba59efeaa2ff8ea3a3fce84ca7.tar.gz |
gpu-viv-bin-mx6q: Add Vivante ICD
Install Vendor ICDs for OpenCL's installable client
driver loader (ICDs Loader).
Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 5 | ||||
-rw-r--r-- | recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/Vivante.icd | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc index b69bcc5..0564f53 100644 --- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | |||
@@ -33,6 +33,7 @@ SRC_URI = "${FSL_MIRROR}/${PN}-${@'${PV}'.replace('1.1.0', '1.1.0-beta')}.bin;fs | |||
33 | file://wayland-egl.pc \ | 33 | file://wayland-egl.pc \ |
34 | file://wayland-viv.pc \ | 34 | file://wayland-viv.pc \ |
35 | file://directfbrc \ | 35 | file://directfbrc \ |
36 | file://Vivante.icd \ | ||
36 | " | 37 | " |
37 | S = "${WORKDIR}/${PN}-${@'${PV}'.replace('1.1.0', '1.1.0-beta')}" | 38 | S = "${WORKDIR}/${PN}-${@'${PV}'.replace('1.1.0', '1.1.0-beta')}" |
38 | 39 | ||
@@ -167,6 +168,10 @@ do_install () { | |||
167 | mv ${D}${libdir}/libGAL_egl.${backend}.so ${D}${libdir}/libGAL_egl.so | 168 | mv ${D}${libdir}/libGAL_egl.${backend}.so ${D}${libdir}/libGAL_egl.so |
168 | fi | 169 | fi |
169 | 170 | ||
171 | # Install Vendor ICDs for OpenCL's installable client driver loader (ICDs Loader) | ||
172 | install -d ${D}${sysconfdir}/OpenCL/vendors/ | ||
173 | install -m 0644 ${WORKDIR}/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd | ||
174 | |||
170 | # We'll only have one backend here so we rename it to generic name | 175 | # We'll only have one backend here so we rename it to generic name |
171 | # and avoid rework in other packages, when possible | 176 | # and avoid rework in other packages, when possible |
172 | mv ${D}${libdir}/libGL.so.1.2 ${D}${libdir}/libGL.so.1.2.0 | 177 | mv ${D}${libdir}/libGL.so.1.2 ${D}${libdir}/libGL.so.1.2.0 |
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/Vivante.icd b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/Vivante.icd new file mode 100644 index 0000000..52c240c --- /dev/null +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/Vivante.icd | |||
@@ -0,0 +1 @@ | |||
libVivanteOpenCL.so | |||