@@ -33,6 +33,14 @@ ifeq ($(IMX_GPU_VIV_LIB_TARGET),wayland)
IMX_GPU_VIV_DEPENDENCIES += libdrm wayland
endif
+# If selected, mesa3d package will remove openGL headers from staging
+# directory when GLX support (libGL provider) is not selected.
+# Add mesa3d in imx-gpu-viv dependencies to avoid to remove openGL
+# headers provivded by this package.
+ifeq ($(BR2_PACKAGE_MESA3D):$(BR2_PACKAGE_MESA3D_OPENGL_GLX),y:)
+IMX_GPU_VIV_DEPENDENCIES += mesa3d
+endif
+
define IMX_GPU_VIV_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_GPU_VIV_DL_DIR)/$(IMX_GPU_VIV_SOURCE))
endef
If selected, mesa3d package will remove openGL headers from staging directory when GLX support (libGL provider) is not selected. Add mesa3d in imx-gpu-viv dependencies to avoid removing openGL headers provivded by this package. xdriver_xf86-video-imx-viv package depends on imx-gpu-viv but also select mesa3d package for DRI swrast driver. Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Gary Bisson <gary.bisson@boundarydevices.com> --- package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk | 8 ++++++++ 1 file changed, 8 insertions(+)