From: Romain Naour Date: Wed, 23 Dec 2020 15:33:24 +0000 (+0100) Subject: package/freescale-imx/imx-gpu-viv: install Vendor ICDs file (Vivante.icd) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b37cd79daf874e0af7931510821444af2ff0ed51;p=buildroot.git 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 Cc: Gary Bisson Signed-off-by: Thomas Petazzoni --- 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 0bb923a2f4..a248da6069 100644 --- a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk +++ b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk @@ -108,6 +108,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 \