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 e190f749b093735b0ff29b28268fa0bdb99716cb..87ed46445e11c629320d650432cc1c88437069f3 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