summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2006-03-27 00:07:21 +0000
committerDave Airlie <airliedfreedesktop.org>2006-03-27 00:07:21 +0000
commite72b745f32bba91592a0e1ee2b942a0ba9e65234 (patch)
treee40af7f5e599e3f90851efb858e0804652ba6797 /src
parentea4fe661d7f3a95d9db17e1475076f1badf8e1a6 (diff)
Fixup makefile for solo non-egl
Diffstat (limited to 'src')
-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