r600g: remove u8,u16,u32,u64 types
[mesa.git] / src / gallium / Android.mk
index b49a61b1ffd4ddc93c06000d8cf5947a71045860..41c59b13c6ff840b2df1f075d6aa4ec57a446e3e 100644 (file)
@@ -34,10 +34,35 @@ 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
+ifneq ($(filter r300g r600g, $(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
+endif
+
+# vmwgfx
+ifneq ($(filter vmwgfx, $(MESA_GPU_DRIVERS)),)
+SUBDIRS += winsys/svga/drm drivers/svga
 endif
 
 mkfiles := $(patsubst %,$(GALLIUM_TOP)/%/Android.mk,$(SUBDIRS))