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

This commit is contained in:
Dan Willemsen
2015-08-07 00:47:51 +00:00
committed by Gerrit Code Review

View File

@@ -139,7 +139,7 @@ endef
########################################################### ###########################################################
define all-makefiles-under define all-makefiles-under
$(wildcard $(1)/*/Android.mk) $(sort $(wildcard $(1)/*/Android.mk))
endef endef
########################################################### ###########################################################
@@ -171,7 +171,7 @@ endef
# $(1): List of directories to look for under this directory # $(1): List of directories to look for under this directory
define all-named-subdir-makefiles 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 endef
########################################################### ###########################################################