[Buildroot] [git commit] package/mesa3d-headers: install OpenCL headers when needed

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Dec 3 22:07:30 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=2c1336533de82a39254eebe545f03aefa6708006
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/mesa3d-headers/mesa3d-headers.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/mesa3d-headers/mesa3d-headers.mk b/package/mesa3d-headers/mesa3d-headers.mk
index e80e222c65..55101b2201 100644
--- a/package/mesa3d-headers/mesa3d-headers.mk
+++ b/package/mesa3d-headers/mesa3d-headers.mk
@@ -63,6 +63,10 @@ ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
 MESA3D_HEADERS_DIRS += GLES GLES2
 endif
 
+ifeq ($(BR2_PACKAGE_HAS_LIBOPENCL),y)
+MESA3D_HEADERS_DIRS += CL
+endif
+
 define MESA3D_HEADERS_BUILD_CMDS
 	$(MESA3D_HEADERS_BUILD_DRI_PC)
 endef


More information about the buildroot mailing list