mirror of https://github.com/acidanthera/audk.git
BaseTools: Sort file list in Makefile
This patch is going to sort the file list in generated Makefile. This change make the autogen makefile easy to compare. Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Bob Feng <bob.c.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
This commit is contained in:
parent
7d0a56c4a1
commit
959791dd6c
|
@ -1026,7 +1026,8 @@ cleanlib:
|
|||
self.FileListMacros[T.FileListMacro].append(NewFile)
|
||||
else:
|
||||
Deps.append(NewFile)
|
||||
|
||||
for key in self.FileListMacros:
|
||||
self.FileListMacros[key].sort()
|
||||
# Use file list macro as dependency
|
||||
if T.GenFileListMacro:
|
||||
Deps.append("$(%s)" % T.FileListMacro)
|
||||
|
|
Loading…
Reference in New Issue