i915: Remove most of the code under gen >= 4 checks.
[mesa.git] / src / mesa / drivers / dri / Makefile.am
index 8b935822125b042efec32bd997f707c2a7974897..48d36858bb7aa7a6a239bde4c2cee3c58b67bb8d 100644 (file)
@@ -1,4 +1,8 @@
-SUBDIRS = common
+SUBDIRS =
+
+if HAVE_COMMON_DRI
+SUBDIRS+=common
+endif
 
 if HAVE_I915_DRI
 SUBDIRS+=i915