am 46ed451d: Merge "build: Load makefiles in the same order with Make 4.0"

* commit '46ed451d12272edcb0ada9a8e0ec1f5f6e340ff8':
  build: Load makefiles in the same order with Make 4.0
This commit is contained in:
Dan Willemsen
2015-08-07 00:54:47 +00:00
committed by Android Git Automerger

View File

@@ -139,7 +139,7 @@ endef
###########################################################
define all-makefiles-under
$(wildcard $(1)/*/Android.mk)
$(sort $(wildcard $(1)/*/Android.mk))
endef
###########################################################
@@ -171,7 +171,7 @@ endef
# $(1): List of directories to look for under this directory
define all-named-subdir-makefiles
$(wildcard $(addsuffix /Android.mk, $(addprefix $(call my-dir)/,$(1))))
$(sort $(wildcard $(addsuffix /Android.mk, $(addprefix $(call my-dir)/,$(1)))))
endef
###########################################################