diff options
author | Feng, Bob C <bob.c.feng@intel.com> | 2019-07-15 22:42:45 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-07-25 09:00:59 +0800 |
commit | 959791dd6c98ff6511fe9e307ee4d468c6e9607d (patch) | |
tree | ab8b679297f02f3d2d068fd24793535ee1b13e03 /BaseTools/Source/Python/AutoGen | |
parent | 7d0a56c4a125917a474d3469f774184d09a38f48 (diff) | |
download | edk2-959791dd6c98ff6511fe9e307ee4d468c6e9607d.tar.gz edk2-959791dd6c98ff6511fe9e307ee4d468c6e9607d.tar.bz2 edk2-959791dd6c98ff6511fe9e307ee4d468c6e9607d.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen')
-rw-r--r-- | BaseTools/Source/Python/AutoGen/GenMake.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/AutoGen/GenMake.py b/BaseTools/Source/Python/AutoGen/GenMake.py index 10e67f7dbb..5802ae5ae4 100644 --- a/BaseTools/Source/Python/AutoGen/GenMake.py +++ b/BaseTools/Source/Python/AutoGen/GenMake.py @@ -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)
|