android: simplify the subdirs including rules
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 21 Jan 2015 17:17:42 +0000 (01:17 +0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Apr 2015 13:24:13 +0000 (14:24 +0100)
Use the macro defined in the Android build system.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Android.mk

index e190f74..87ed464 100644 (file)
@@ -94,7 +94,6 @@ ifeq ($(strip $(MESA_BUILD_GALLIUM)),true)
 SUBDIRS += src/gallium
 endif
 
-mkfiles := $(patsubst %,$(MESA_TOP)/%/Android.mk,$(SUBDIRS))
-include $(mkfiles)
+include $(call all-named-subdir-makefiles,$(SUBDIRS))
 
 endif