OSDN Git Service

Fixup makefile for solo non-egl
authorDave Airlie <airliedfreedesktop.org>
Mon, 27 Mar 2006 00:07:21 +0000 (00:07 +0000)
committerDave Airlie <airliedfreedesktop.org>
Mon, 27 Mar 2006 00:07:21 +0000 (00:07 +0000)
src/mesa/drivers/dri/fb/Makefile

index bebacf8..309f50b 100644 (file)
@@ -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