Mesa (master): st/egl: Do not build non-working driver combinations.

Chia-I Wu olv at kemper.freedesktop.org
Thu Jun 10 21:57:23 PDT 2010


Module: Mesa
Branch: master
Commit: ebed500fae5bcd8568826439ef0998b72c231454
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebed500fae5bcd8568826439ef0998b72c231454

Author: Chia-I Wu <olv at lunarg.com>
Date:   Fri Jun 11 12:29:01 2010 +0800

st/egl: Do not build non-working driver combinations.

The KMS backend requires a hardware pipe driver.  Do not build
egl_kms_swrast.  Also, only build egl_fbdev_swrast for fbdev backend.
It is a pure software backend.

---

 src/gallium/targets/Makefile.egl |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/gallium/targets/Makefile.egl b/src/gallium/targets/Makefile.egl
index 49ca039..bde5d3c 100644
--- a/src/gallium/targets/Makefile.egl
+++ b/src/gallium/targets/Makefile.egl
@@ -62,6 +62,12 @@ INCLUDES = \
 
 ##### TARGETS #####
 
+ifeq ($(EGL_DRIVER_NAME),swrast)
+EGL_DISPLAYS := $(filter-out kms, $(EGL_DISPLAYS))
+else
+EGL_DISPLAYS := $(filter-out fbdev, $(EGL_DISPLAYS))
+endif
+
 EGL_DISPLAY_DRIVERS = $(foreach dpy, $(EGL_DISPLAYS), egl_$(dpy)_$(EGL_DRIVER_NAME).so)
 
 EGL_DISPLAY_LIBS = $(foreach drv, $(EGL_DISPLAY_DRIVERS), $(TOP)/$(LIB_DIR)/egl/$(drv))



More information about the mesa-commit mailing list