[Buildroot] [PATCH 3/6] package/mesa3d-headers: install OpenCL headers when needed
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Oct 20 22:14:34 UTC 2018
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 c3eaaac3d8..a337e76cea 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
--
2.14.4
More information about the buildroot
mailing list