gallium: Only build intel_drm for linux-dri targets
authorJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 6 Jun 2008 14:50:52 +0000 (16:50 +0200)
committerJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 6 Jun 2008 14:50:52 +0000 (16:50 +0200)
configs/default
configs/linux-dri

index b7d0d22..2776a11 100644 (file)
@@ -71,7 +71,7 @@ PROGRAM_DIRS = demos redbook samples glsl xdemos
 GALLIUM_AUXILIARY_DIRS = draw cso_cache pipebuffer tgsi sct translate rtasm util
 GALLIUM_AUXILIARIES = $(foreach DIR,$(GALLIUM_AUXILIARY_DIRS),$(TOP)/src/gallium/auxiliary/$(DIR)/lib$(DIR).a)
 GALLIUM_DRIVER_DIRS = softpipe i915simple i965simple failover
-GALLIUM_WINSYS_COMMON_DIRS = intel_drm
+GALLIUM_WINSYS_COMMON_DIRS =
 GALLIUM_DRIVERS = $(foreach DIR,$(GALLIUM_DRIVER_DIRS),$(TOP)/src/gallium/drivers/$(DIR)/lib$(DIR).a)
 GALLIUM_WINSYS_DIRS = xlib egl_xlib
 
index 3df1505..bd5e90d 100644 (file)
@@ -64,6 +64,7 @@ endif
 DRIVER_DIRS = dri
 WINDOW_SYSTEM = dri
 GALLIUM_WINSYS_DIRS = dri egl_xlib
+GALLIUM_WINSYS_COMMON_DIRS = intel_drm
 
 # gamma are missing because they have not been converted to use the new
 # interface.