summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source
diff options
context:
space:
mode:
authorFeng, Bob C <bob.c.feng@intel.com>2019-09-27 19:35:23 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-09-29 11:59:31 +0800
commit1f5e4d91284c918dc048b8b6f96f3cc97fcd6dfe (patch)
tree0a5a99b6ca1d15cd15f8010d9242d7cf7d856a8c /BaseTools/Source
parent76e1e5631f1ad9b2275ff31fefe83258c0812b3d (diff)
downloadedk2-1f5e4d91284c918dc048b8b6f96f3cc97fcd6dfe.tar.gz
edk2-1f5e4d91284c918dc048b8b6f96f3cc97fcd6dfe.tar.bz2
edk2-1f5e4d91284c918dc048b8b6f96f3cc97fcd6dfe.zip
BaseTools: Fix the lib order in static_library_files.lst
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2216 This patch is going to fix the lib order in static_library_files.lst. This issue is introduced by commit 673d09a2dd. Before 673d09a2dd, build tool apply build rule for the module's library firstly and then apply build rule for module itself. Now, build tool apply build rule for module self and then for its library. That behavior impact the lib order in static_library_files.lst. This patch is to call module's LibraryAutoGenList function explicitly, where the applying build rule action for library is triggered. Cc: Liming Gao <liming.gao@intel.com> Cc: dann frazier <dann.frazier@canonical.com> Signed-off-by: Bob Feng <bob.c.feng@intel.com> Tested-by: dann frazier <dann.frazier@canonical.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source')
-rwxr-xr-xBaseTools/Source/Python/AutoGen/ModuleAutoGen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py b/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
index fad5bab0f2..f0812b6887 100755
--- a/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
+++ b/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
@@ -1843,7 +1843,7 @@ class ModuleAutoGen(AutoGen):
# CanSkip uses timestamps to determine build skipping
if self.CanSkip():
return
-
+ self.LibraryAutoGenList
AutoGenList = []
IgoredAutoGenList = []