diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2010-01-14 22:51:25 +0000 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2010-01-14 22:51:25 +0000 |
commit | 877cadb65512a93f3ccf2f25bbc2f7565d75050f (patch) | |
tree | bc1aa22ee2102a15e56d3dfa981ad403b07a5c9f | |
parent | b01ffb12ed82dcf435b186e2aff35e344a8a6ebe (diff) |
r300g: Build driver by default
Do the auto trick that is used for both i915, i965 and svga.
-rw-r--r-- | configs/default | 2 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/configs/default b/configs/default index 8b4557d26a..ec9670dd63 100644 --- a/configs/default +++ b/configs/default @@ -98,7 +98,7 @@ EGL_DRIVERS_DIRS = demo # Gallium directories and GALLIUM_DIRS = auxiliary drivers state_trackers GALLIUM_AUXILIARIES = $(TOP)/src/gallium/auxiliary/libgallium.a -GALLIUM_DRIVERS_DIRS = softpipe failover svga i915 i965 trace identity +GALLIUM_DRIVERS_DIRS = softpipe failover svga i915 i965 r300 trace identity GALLIUM_DRIVERS = $(foreach DIR,$(GALLIUM_DRIVERS_DIRS),$(TOP)/src/gallium/drivers/$(DIR)/lib$(DIR).a) GALLIUM_WINSYS_DIRS = xlib egl_xlib GALLIUM_WINSYS_DRM_DIRS = diff --git a/configure.ac b/configure.ac index 4f28fc0d14..d01d0f1884 100644 --- a/configure.ac +++ b/configure.ac @@ -1279,10 +1279,12 @@ AC_ARG_ENABLE([gallium-radeon], [AS_HELP_STRING([--enable-gallium-radeon], [build gallium radeon @<:@default=disabled@:>@])], [enable_gallium_radeon="$enableval"], - [enable_gallium_radeon=no]) + [enable_gallium_radeon=auto]) if test "x$enable_gallium_radeon" = xyes; then GALLIUM_WINSYS_DRM_DIRS="$GALLIUM_WINSYS_DRM_DIRS radeon" GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS r300" +elif test "x$enable_gallium_radeon" = xauto; then + GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS r300" fi dnl |