aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@smile.fr>2020-12-23 16:33:24 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-12-27 09:33:43 +0100
commitbcac3a16da6b3da3482ac5f536cf32b67be0da49 (patch)
tree724f33ed7b38bc83ae585f2c7fb71f6ac7d58c51
parent24016d8ad548fd13bfcaed61d76ebdd68dd3d94c (diff)
downloadbuildroot-bcac3a16da6b3da3482ac5f536cf32b67be0da49.tar.gz
buildroot-bcac3a16da6b3da3482ac5f536cf32b67be0da49.tar.bz2
package/freescale-imx/imx-gpu-viv: install Vendor ICDs file (Vivante.icd)
Without this file, the clinfo binary provided by the package doesn't detect the opencl support. Fixes: https://github.com/boundarydevices/buildroot-external-boundary/issues/5 Signed-off-by: Romain Naour <romain.naour@smile.fr> Cc: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit b37cd79daf874e0af7931510821444af2ff0ed51) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
index b6b070e4f6..8e8f7355dc 100644
--- a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
+++ b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
@@ -118,6 +118,7 @@ define IMX_GPU_VIV_INSTALL_TARGET_CMDS
$(IMX_GPU_VIV_INSTALL_EXAMPLES)
$(IMX_GPU_VIV_INSTALL_GMEM_INFO)
cp -a $(@D)/gpu-core/usr/lib $(TARGET_DIR)/usr
+ $(INSTALL) -D -m 0644 $(@D)/gpu-core/etc/Vivante.icd $(TARGET_DIR)/etc/OpenCL/vendors/Vivante.icd
for lib in EGL GAL GLESv2 VDK; do \
for f in $(TARGET_DIR)/usr/lib/lib$${lib}-*.so; do \
case $$f in \