From a3b3c1afb753d1a05bb3f2f5258b9936257a90ec Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Fri, 20 Mar 2015 17:05:46 +0000 Subject: android: simplify the including rule of subdirs Use android build system functions to include Android.mk of subdirs. Signed-off-by: Chih-Wei Huang Reviewed-by: Emil Velikov [Emil Velikov: Resolve trivial conflicts.] Signed-off-by: Emil Velikov --- Android.mk | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk index 0c78fc41..bad4fe14 100644 --- a/Android.mk +++ b/Android.mk @@ -45,13 +45,4 @@ LOCAL_CFLAGS := \ include $(BUILD_SHARED_LIBRARY) -SUBDIRS := \ - freedreno \ - intel \ - nouveau \ - radeon \ - libkms \ - tests/modetest - -mkfiles := $(patsubst %,$(LIBDRM_TOP)/%/Android.mk,$(SUBDIRS)) -include $(mkfiles) +include $(call all-makefiles-under,$(LOCAL_PATH)) -- cgit v1.2.3