]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Fixed a Incremental build issue
authorBob Feng <bob.c.feng@intel.com>
Fri, 7 Feb 2020 08:45:18 +0000 (16:45 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 9 Feb 2020 09:29:02 +0000 (09:29 +0000)
The .map file is not update to FFS_OUTPUT_DIR folder
in the incremental build.

Signed-off-by: Guo Dong <guo.dong@intel.com>
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/AutoGen/GenMake.py

index ba199c1aa73dc46856b41c13e07e3d9770081acd..9ae09c47caf8a674168de1ef4667f17af4f06a73 100755 (executable)
@@ -720,7 +720,7 @@ cleanlib:
                     if Dst not in self.ResultFileList:\r
                         self.ResultFileList.append(Dst)\r
                     if '%s :' %(Dst) not in self.BuildTargetList:\r
-                        self.BuildTargetList.append("%s :" %(Dst))\r
+                        self.BuildTargetList.append("%s : %s" %(Dst,Src))\r
                         self.BuildTargetList.append('\t' + self._CP_TEMPLATE_[self._FileType] %{'Src': Src, 'Dst': Dst})\r
 \r
             FfsCmdList = Cmd[0]\r