[meta-freescale] [meta-fsl-arm][PATCH 02/12] gpu-viv-bin-mx6q: Add Vivante ICD
Neena Busireddy
neena.busireddy at freescale.com
Wed Aug 27 12:33:30 PDT 2014
Install Vendor ICDs for OpenCL's installable client
driver loader (ICDs Loader).
Signed-off-by: Neena Busireddy <neena.busireddy at freescale.com>
---
.../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 5 +++++
.../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/Vivante.icd | 1 +
2 files changed, 6 insertions(+)
create mode 100644 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/Vivante.icd
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 b0c2778..3fb2db1 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
file://wayland-egl.pc \
file://wayland-viv.pc \
file://directfbrc \
+ file://Vivante.icd \
"
S = "${WORKDIR}/${PN}-${@'${PV}'.replace('1.1.0', '1.1.0-beta')}"
@@ -167,6 +168,10 @@ do_install () {
mv ${D}${libdir}/libGAL_egl.${backend}.so ${D}${libdir}/libGAL_egl.so
fi
+ # Install Vendor ICDs for OpenCL's installable client driver loader (ICDs Loader)
+ install -d ${D}${sysconfdir}/OpenCL/vendors/
+ install -m 0644 ${WORKDIR}/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd
+
# We'll only have one backend here so we rename it to generic name
# and avoid rework in other packages, when possible
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
--
1.7.9.5
More information about the meta-freescale
mailing list