diff options
| -rw-r--r-- | meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 5 | ||||
| -rw-r--r-- | meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/Vivante.icd | 1 |
2 files changed, 6 insertions, 0 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 b69bcc579..0564f53c4 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 | |||
| @@ -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/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/Vivante.icd b/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/Vivante.icd new file mode 100644 index 000000000..52c240c24 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/Vivante.icd | |||
| @@ -0,0 +1 @@ | |||
| libVivanteOpenCL.so | |||
