ifneq ($(strip $(MESA_GPU_DRIVERS)),)
SUBDIRS := \
+ src/gbm \
src/loader \
src/mapi \
src/compiler \
- src/compiler/glsl \
src/mesa \
src/util \
src/egl \
+ src/intel/genxml \
+ src/intel/isl \
src/mesa/drivers/dri
+INC_DIRS := $(call all-named-subdir-makefiles,$(SUBDIRS))
+
ifeq ($(strip $(MESA_BUILD_GALLIUM)),true)
-SUBDIRS += src/gallium
+INC_DIRS += $(call all-named-subdir-makefiles,src/gallium)
endif
-include $(call all-named-subdir-makefiles,$(SUBDIRS))
+include $(INC_DIRS)
endif