diff options
author | Jaben Carsey <jaben.carsey@intel.com> | 2018-05-18 08:06:52 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-06-13 09:02:56 +0800 |
commit | caf744956d4c8c0ef358bdc3df2cdb10265c2ea8 (patch) | |
tree | 2b3f1991e58f949b1fb34a4948a74ca60e4d1dd7 /BaseTools/Source/Python/AutoGen/GenMake.py | |
parent | c14b58614ffb992dfc668966a19becb86614aafc (diff) | |
download | edk2-caf744956d4c8c0ef358bdc3df2cdb10265c2ea8.tar.gz edk2-caf744956d4c8c0ef358bdc3df2cdb10265c2ea8.tar.bz2 edk2-caf744956d4c8c0ef358bdc3df2cdb10265c2ea8.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/GenMake.py')
-rw-r--r-- | BaseTools/Source/Python/AutoGen/GenMake.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/AutoGen/GenMake.py b/BaseTools/Source/Python/AutoGen/GenMake.py index 6e83b3d73e..8541372159 100644 --- a/BaseTools/Source/Python/AutoGen/GenMake.py +++ b/BaseTools/Source/Python/AutoGen/GenMake.py @@ -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()
|