nv50: fix typo in nv50_fragprog_assign_slots
[mesa.git] / src / gallium / Android.mk
index 45c4f84da88f9021cef1d54a17771a158f5095ee..1d002d05374a7984ac4e5cd132f62f1c6a26a54a 100644 (file)
@@ -34,10 +34,33 @@ SUBDIRS := \
 # swrast
 SUBDIRS += winsys/sw/android drivers/softpipe
 
-# r600g
-ifneq ($(filter r600g, $(MESA_GPU_DRIVERS)),)
+# i915g
+ifneq ($(filter i915g, $(MESA_GPU_DRIVERS)),)
+SUBDIRS += winsys/i915/drm drivers/i915
+endif
+
+# nouveau
+ifneq ($(filter nouveau, $(MESA_GPU_DRIVERS)),)
+SUBDIRS += \
+       winsys/nouveau/drm \
+       drivers/nouveau \
+       drivers/nvfx \
+       drivers/nv50 \
+       drivers/nvc0
+endif
+
+# r300g/r600g/radeonsi
+ifneq ($(filter r300g r600g radeonsi, $(MESA_GPU_DRIVERS)),)
 SUBDIRS += winsys/radeon/drm
-SUBDIRS += winsys/r600/drm drivers/r600
+ifneq ($(filter r300g, $(MESA_GPU_DRIVERS)),)
+SUBDIRS += drivers/r300
+endif
+ifneq ($(filter r600g, $(MESA_GPU_DRIVERS)),)
+SUBDIRS += drivers/r600
+endif
+ifneq ($(filter radeonsi, $(MESA_GPU_DRIVERS)),)
+SUBDIRS += drivers/radeonsi
+endif
 endif
 
 # vmwgfx