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>
This commit is contained in:
@ -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),
|
||||
|
Reference in New Issue
Block a user