[edk2-devel] [Patch 1/1] BaseTools: Fixed a Incremental build issue
Liming Gao
liming.gao at intel.com
Fri Feb 7 09:29:41 UTC 2020
Reviewed-by: Liming Gao <liming.gao at intel.com>
> -----Original Message-----
> From: Feng, Bob C <bob.c.feng at intel.com>
> Sent: Friday, February 7, 2020 4:42 PM
> To: edk2-devel at lists.01.org; devel at edk2.groups.io
> Cc: Feng, Bob C <bob.c.feng at intel.com>; Dong, Guo <guo.dong at intel.com>; Gao, Liming <liming.gao at intel.com>
> Subject: [Patch 1/1] BaseTools: Fixed a Incremental build issue
>
> From: Bob Feng <bob.c.feng at intel.com>
>
> The .map file is not update to FFS_OUTPUT_DIR folder
> in the incremental build.
>
> Signed-off-by: Guo Dong <guo.dong at intel.com>
> Signed-off-by: Bob Feng <bob.c.feng at intel.com>
> Cc: Liming Gao <liming.gao at intel.com>
> ---
> BaseTools/Source/Python/AutoGen/GenMake.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/BaseTools/Source/Python/AutoGen/GenMake.py b/BaseTools/Source/Python/AutoGen/GenMake.py
> index ba199c1aa73d..9ae09c47caf8 100755
> --- a/BaseTools/Source/Python/AutoGen/GenMake.py
> +++ b/BaseTools/Source/Python/AutoGen/GenMake.py
> @@ -718,11 +718,11 @@ cleanlib:
> Src = self.ReplaceMacro(Src)
> Dst = self.ReplaceMacro(Dst)
> if Dst not in self.ResultFileList:
> self.ResultFileList.append(Dst)
> if '%s :' %(Dst) not in self.BuildTargetList:
> - self.BuildTargetList.append("%s :" %(Dst))
> + self.BuildTargetList.append("%s : %s" %(Dst,Src))
> self.BuildTargetList.append('\t' + self._CP_TEMPLATE_[self._FileType] %{'Src': Src, 'Dst': Dst})
>
> FfsCmdList = Cmd[0]
> for index, Str in enumerate(FfsCmdList):
> if '-o' == Str:
> --
> 2.18.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#54031): https://edk2.groups.io/g/devel/message/54031
Mute This Topic: https://groups.io/mt/71047523/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list