aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jérôme Pouiller <jezz@sysmic.org>2015-04-30 17:12:16 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-05-01 22:57:18 +0200
commitf0964c8dc4d8273c81df4f1d3386322374bc095f (patch)
tree7710ed2efb153cefb3285b17cc910d9ba70bdba2
parentcf3854a419674221236e762fbb7c1273409dd373 (diff)
downloadbuildroot-f0964c8dc4d8273c81df4f1d3386322374bc095f.tar.gz
buildroot-f0964c8dc4d8273c81df4f1d3386322374bc095f.tar.bz2
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 <jezz@sysmic.org> Reviewed-by: Bernd Kuhls <bernd.kuhls@t-online.de> Tested-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/mesa3d/mesa3d.mk4
1 files changed, 2 insertions, 2 deletions
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