From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web11.1858.1581064910009009673 for ; Fri, 07 Feb 2020 00:41:50 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: bob.c.feng@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Feb 2020 00:41:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,412,1574150400"; d="scan'208";a="226416459" Received: from bfeng1-mobl1.ccr.corp.intel.com ([10.255.30.210]) by fmsmga008.fm.intel.com with ESMTP; 07 Feb 2020 00:41:48 -0800 From: "Bob Feng" To: edk2-devel@lists.01.org, devel@edk2.groups.io Cc: Bob Feng , Guo Dong , Liming Gao Subject: [Patch 1/1] BaseTools: Fixed a Incremental build issue Date: Fri, 7 Feb 2020 16:41:45 +0800 Message-Id: <20200207084145.17576-1-bob.c.feng@intel.com> X-Mailer: git-send-email 2.18.0.windows.1 From: Bob Feng The .map file is not update to FFS_OUTPUT_DIR folder in the incremental build. Signed-off-by: Guo Dong Signed-off-by: Bob Feng Cc: Liming Gao --- 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