diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2017-12-04 10:25:43 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2017-12-10 08:56:56 +0800 |
commit | 1c62af9ec1086b9e3066b25bfd6bee6d03186c0f (patch) | |
tree | ac47b05dfceb35b5e7bbe6ff1d4eb342f30f5350 /BaseTools/Source/Python/AutoGen | |
parent | edf7647bae9e7ae212abd8e3922592d49721a8ad (diff) | |
download | edk2-1c62af9ec1086b9e3066b25bfd6bee6d03186c0f.tar.gz edk2-1c62af9ec1086b9e3066b25bfd6bee6d03186c0f.tar.bz2 edk2-1c62af9ec1086b9e3066b25bfd6bee6d03186c0f.zip |
BaseTools: Add object_files.lst as dependency of lib target
Seems object_files.lst is not added as dependency of lib target, this
patch update BaseTools to generate Makefile with this dependency.
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen')
-rw-r--r-- | BaseTools/Source/Python/AutoGen/GenMake.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/AutoGen/GenMake.py b/BaseTools/Source/Python/AutoGen/GenMake.py index 2abfdb3ac4..7d3374a493 100644 --- a/BaseTools/Source/Python/AutoGen/GenMake.py +++ b/BaseTools/Source/Python/AutoGen/GenMake.py @@ -958,6 +958,8 @@ cleanlib: # Use file list macro as dependency
if T.GenFileListMacro:
Deps.append("$(%s)" % T.FileListMacro)
+ if Type in [TAB_OBJECT_FILE, TAB_STATIC_LIBRARY]:
+ Deps.append("$(%s)" % T.ListFileMacro)
TargetDict = {
"target" : self.PlaceMacro(T.Target.Path, self.Macros),
|