android: simplify the including rule of subdirs

Use android build system functions to include Android.mk
of subdirs.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
[Emil Velikov: Resolve trivial conflicts.]
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
main
Chih-Wei Huang 2015-03-20 17:05:46 +00:00 committed by Emil Velikov
parent 568b3a0954
commit a3b3c1afb7
2 changed files with 2 additions and 10 deletions

View File

@ -45,13 +45,4 @@ LOCAL_CFLAGS := \
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
SUBDIRS := \ include $(call all-makefiles-under,$(LOCAL_PATH))
freedreno \
intel \
nouveau \
radeon \
libkms \
tests/modetest
mkfiles := $(patsubst %,$(LIBDRM_TOP)/%/Android.mk,$(SUBDIRS))
include $(mkfiles)

1
tests/Android.mk Normal file
View File

@ -0,0 +1 @@
include $(call all-subdir-makefiles)