summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/fb
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/fb')
-rw-r--r--src/mesa/drivers/dri/fb/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/fb/Makefile b/src/mesa/drivers/dri/fb/Makefile
index bebacf8b271..309f50b95f8 100644
--- a/src/mesa/drivers/dri/fb/Makefile
+++ b/src/mesa/drivers/dri/fb/Makefile
@@ -5,9 +5,14 @@ include $(TOP)/configs/current
LIBNAME = fb_dri.so
+ifeq ($(USING_EGL), 1)
+EGL_SOURCES = server/radeon_egl.c
+endif
+
DRIVER_SOURCES = \
fb_dri.c \
- fb_egl.c
+ $(EGL_SOURCES)
+
C_SOURCES = \
$(COMMON_SOURCES) \
@@ -16,7 +21,7 @@ C_SOURCES = \
ASM_SOURCES =
# XXX not 100% sure this is right
-WINDOW_SYSTEM = solo
+#WINDOW_SYSTEM = solo
include ../Makefile.template