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

* commit 'b8331622962be9d044eedce0aa1dff33ca1c5b16':
  build: Load makefiles in the same order with Make 4.0
This commit is contained in:
Dan Willemsen
2015-08-07 20:08:00 +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
###########################################################