X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2FMakefile;h=9fe9b2c11d062d4b7f7eb0d33e443934a9f06800;hb=ed24e19070b7dff12670151b2d184f31c845ccae;hp=58df6c500937cc43356a3cbbb33de3771ab45ef4;hpb=26add9288c88108e3485ffc57c51ea9bdc0ee719;p=mesa.git diff --git a/src/gallium/drivers/Makefile b/src/gallium/drivers/Makefile index 58df6c50093..9fe9b2c11d0 100644 --- a/src/gallium/drivers/Makefile +++ b/src/gallium/drivers/Makefile @@ -1,25 +1,12 @@ +# src/gallium/drivers/Makefile TOP = ../../.. include $(TOP)/configs/current +SUBDIRS = $(GALLIUM_DRIVERS_DIRS) -ifeq ($(CONFIG_NAME), linux-cell) -CELL_DIR = cell -endif - -SUBDIRS = softpipe i915simple i965simple nv30 nv40 nv50 \ - failover pipebuffer $(CELL_DIR) - - -default: subdirs - - -subdirs: +default install clean: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ - (cd $$dir && $(MAKE)) || exit 1 ; \ + (cd $$dir && $(MAKE) $@) || exit 1; \ fi \ done - - -clean: - rm -f `find . -name \*.[oa]`