From: Thomas Petazzoni Date: Sat, 20 Oct 2018 22:14:34 +0000 (+0200) Subject: package/mesa3d-headers: install OpenCL headers when needed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c1336533de82a39254eebe545f03aefa6708006;p=buildroot.git package/mesa3d-headers: install OpenCL headers when needed Signed-off-by: Thomas Petazzoni --- 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