BaseTools: Cleanup unneeded code
Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
committed by
Yonghong Zhu
parent
c14b58614f
commit
caf744956d
@ -698,7 +698,7 @@ cleanlib:
|
||||
Src = self.ReplaceMacro(Src)
|
||||
Dst = self.ReplaceMacro(Dst)
|
||||
if Dst not in self.ResultFileList:
|
||||
self.ResultFileList.append('%s' % Dst)
|
||||
self.ResultFileList.append(Dst)
|
||||
if '%s :' %(Dst) not in self.BuildTargetList:
|
||||
self.BuildTargetList.append("%s :" %(Dst))
|
||||
self.BuildTargetList.append('\t' + self._CP_TEMPLATE_[self._FileType] %{'Src': Src, 'Dst': Dst})
|
||||
@ -716,7 +716,7 @@ cleanlib:
|
||||
if DepsFileString == '':
|
||||
continue
|
||||
OutputFile = self.ReplaceMacro(OutputFile)
|
||||
self.ResultFileList.append('%s' % OutputFile)
|
||||
self.ResultFileList.append(OutputFile)
|
||||
DepsFileString = self.ReplaceMacro(DepsFileString)
|
||||
self.BuildTargetList.append('%s : %s' % (OutputFile, DepsFileString))
|
||||
CmdString = ' '.join(FfsCmdList).strip()
|
||||
|
Reference in New Issue
Block a user