summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-05-03 14:35:19 -0500
committerEmil Velikov <emil.l.velikov@gmail.com>2017-05-11 13:52:21 +0100
commit2a2dabe1c330fea311505b453de58ddcd5488fcc (patch)
tree51ac113eaebc1a4957fba2c284a23c27e46a1514 /Android.mk
parent88014bc0237ecba69a8a7c1e0f7094644e32c8a9 (diff)
Android: remove needless conditional including of child makefiles
It is not necessary to filter driver and winsys directories based on the list of enabled drivers. Selecting the included driver libraries or not is sufficient to control what is built. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Chih-Wei Huang <cwhuang@linux.org.tw> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk8
1 files changed, 0 insertions, 8 deletions
diff --git a/Android.mk b/Android.mk
index fdbf22fe643..08daf770f26 100644
--- a/Android.mk
+++ b/Android.mk
@@ -76,8 +76,6 @@ endif
MESA_ENABLE_LLVM := $(if $(filter radeonsi,$(MESA_GPU_DRIVERS)),true,false)
# add subdirectories
-ifneq ($(strip $(MESA_GPU_DRIVERS)),)
-
SUBDIRS := \
src/gbm \
src/loader \
@@ -92,11 +90,5 @@ SUBDIRS := \
src/vulkan
INC_DIRS := $(call all-named-subdir-makefiles,$(SUBDIRS))
-
-ifeq ($(strip $(MESA_BUILD_GALLIUM)),true)
INC_DIRS += $(call all-named-subdir-makefiles,src/gallium)
-endif
-
include $(INC_DIRS)
-
-endif