From: Jérôme Pouiller Date: Thu, 30 Apr 2015 15:12:16 +0000 (+0200) Subject: mesa3d: Give possibility to external backends to enable DRI/Gallium X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0964c8dc4d8273c81df4f1d3386322374bc095f;p=buildroot.git mesa3d: Give possibility to external backends to enable DRI/Gallium Thus, it is possible to force compilation of Gallium/DRI support in mesa3d even if no Gallium/DRI drivers are selected. This is intended to be used by external OpenGL provider (especialy further imx6 support). Signed-off-by: Jérôme Pouiller Reviewed-by: Bernd Kuhls Tested-by: Gary Bisson Signed-off-by: Thomas Petazzoni --- diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index dffbe460be..f1c38bf6b2 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -61,7 +61,7 @@ MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_I915) += i915 MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_I965) += i965 MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON) += radeon -ifeq ($(MESA3D_GALLIUM_DRIVERS-y),) +ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER),) MESA3D_CONF_OPTS += \ --without-gallium-drivers else @@ -70,7 +70,7 @@ MESA3D_CONF_OPTS += \ --with-gallium-drivers=$(subst $(space),$(comma),$(MESA3D_GALLIUM_DRIVERS-y)) endif -ifeq ($(MESA3D_DRI_DRIVERS-y),) +ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) MESA3D_CONF_OPTS += \ --without-dri-drivers --without-dri --disable-dri3 else