OSDN Git Service

build: Load makefiles in the same order with Make 4.0
authorDan Willemsen <dwillemsen@google.com>
Thu, 6 Aug 2015 22:01:24 +0000 (15:01 -0700)
committerDan Willemsen <dwillemsen@google.com>
Thu, 6 Aug 2015 22:21:30 +0000 (15:21 -0700)
commitec224d5072f4af2b01aa0e4f06b161246054b028
tree48a6fea9e81bfbb0b74714b40c9b70bf13d3473e
parentd86f39cab79e11696ff23c836df73c421fd401e2
build: Load makefiles in the same order with Make 4.0

Make 4.0 (and Kati) removed the implicit sort from the $(wildcard)
function. In order to ensure that makefiles are always loaded in the
same order, and an explicit sort.

This shouldn't matter, but some makefiles are modifying variables used
by siblings (LLVM_ROOT_PATH under frameworks/compile). In this case, the
path value still pointed to the same path, it just had extra '..'
references, and was enough to cause the binaries to be different.

Change-Id: Ief6551f999351ee2c193275aaae426dc064f8b34
core/definitions.mk