summaryrefslogtreecommitdiffstats
path: root/package/mesa3d-headers
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-10-21 00:14:34 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-03 23:07:30 +0100
commit2c1336533de82a39254eebe545f03aefa6708006 (patch)
treee207fa6645bd55ff32ef529fa1d4d480076d27dc /package/mesa3d-headers
parentfddf7a04a5b86ec56a77b963c69892aead17f97a (diff)
downloadbuildroot-2c1336533de82a39254eebe545f03aefa6708006.tar.gz
buildroot-2c1336533de82a39254eebe545f03aefa6708006.zip
package/mesa3d-headers: install OpenCL headers when needed
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/mesa3d-headers')
-rw-r--r--package/mesa3d-headers/mesa3d-headers.mk4
1 files changed, 4 insertions, 0 deletions
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
OpenPOWER on IntegriCloud