summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/Makefile.am2
-rw-r--r--src/gallium/drivers/softpipe/Automake.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/Makefile.am b/src/gallium/Makefile.am
index 611d55fafe2..2c7508385ca 100644
--- a/src/gallium/Makefile.am
+++ b/src/gallium/Makefile.am
@@ -98,7 +98,7 @@ if HAVE_DRISW
SUBDIRS += winsys/sw/dri
endif
-if HAVE_DRI2
+if HAVE_DRISW_KMS
SUBDIRS += winsys/sw/kms-dri
endif
diff --git a/src/gallium/drivers/softpipe/Automake.inc b/src/gallium/drivers/softpipe/Automake.inc
index 6455f3caa3d..5cedcef9772 100644
--- a/src/gallium/drivers/softpipe/Automake.inc
+++ b/src/gallium/drivers/softpipe/Automake.inc
@@ -6,7 +6,7 @@ TARGET_LIB_DEPS += \
$(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la \
$(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la
-if HAVE_DRI2
+if HAVE_DRISW_KMS
TARGET_DRIVERS += kms_swrast
TARGET_LIB_DEPS += \
$(top_builddir)/src/gallium/winsys/sw/kms-dri/libswkmsdri.la