From nobody Tue Nov 26 20:39:29 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+46143+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+46143+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1566381461; cv=none; d=zoho.com; s=zohoarc; b=K1k5a7c5zR1R/dnaYjmKXzU3BUxwQYkIvOUKFX+uwICqmoL8XIW6n7NbbsOY4AKLGfmiheauGghmnPAKY9AdooXUQUeYcIbebPfQcNmsIk91HxWHzOQtMD3xiaHIkdOhqAa+t1rfDoUXpM5h/fY1CfegLhwn93wTf6GvSBiVV0g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566381461; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=GZiBu99m1PNr76Hlz3q+0CXHML4ceiEYl9sh0mCZ3jI=; b=k1gcw4fKwoa3JpCyAkhaIs+ubSK2kWTHC0wZZ4docGp9y2bZ3iY2NugZa0YTPKwfGTD42wLvNCmGHd7vQjgVJn21hq4HEYWRtuxtaxhmWS3FWZcug6Xrucghomn508NH+ceOwbakPHI5cwv2dxAPdXp0ahW+n8Sbut99uEnkVXI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+46143+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1566381461544537.1355924622106; Wed, 21 Aug 2019 02:57:41 -0700 (PDT) Return-Path: X-Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by groups.io with SMTP; Wed, 21 Aug 2019 02:57:40 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Aug 2019 02:57:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,412,1559545200"; d="scan'208";a="329976157" X-Received: from shwdepsi1121.ccr.corp.intel.com ([10.239.158.47]) by orsmga004.jf.intel.com with ESMTP; 21 Aug 2019 02:57:38 -0700 From: "Bob Feng" To: devel@edk2.groups.io Cc: Liming Gao , Bob Feng Subject: [edk2-devel] [Patch][edk2-stable201908] BaseTools: Fix incremental build genmake issue Date: Wed, 21 Aug 2019 17:57:27 +0800 Message-Id: <20190821095727.6456-1-bob.c.feng@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,bob.c.feng@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1566381460; bh=NrWbXkEyK2PAD0I0ob3rDdYGrr4eKsRzE+6yfidmYBQ=; h=Cc:Date:From:Reply-To:Subject:To; b=lQ3E8LOJNXzXxr4u0DnA8YJzWhTWGTsFg4eBdJVvlO8gWo/2J1IZ4PFCPVXbwE+Zmur JeDsm/uZd6vIyk91n8ifhBIRsWtFJ/WyVT3SxfPblE1msdNAYnEt98M6CUjumxlfhtBhB FzHKGI6H41w505plJQ1nRW0GjxY//S2GMKg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2090 This is a regression issue introduced by commit e8449e. This patch is going to fix this issue. Cc: Liming Gao Signed-off-by: Bob Feng Reviewed-by: Liming Gao --- BaseTools/Source/Python/build/build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Pyth= on/build/build.py index 2c10670a69..0406ac314b 100755 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -1217,11 +1217,10 @@ class Build(): # for target which must generate AutoGen code and makefile mqueue =3D mp.Queue() for m in AutoGenObject.GetAllModuleInfo: mqueue.put(m) =20 - AutoGenObject.DataPipe.DataContainer =3D {"FfsCommand":FfsComm= and} AutoGenObject.DataPipe.DataContainer =3D {"CommandTarget": sel= f.Target} self.Progress.Start("Generating makefile and code") data_pipe_file =3D os.path.join(AutoGenObject.BuildDir, "Globa= lVar_%s_%s.bin" % (str(AutoGenObject.Guid),AutoGenObject.Arch)) AutoGenObject.DataPipe.dump(data_pipe_file) autogen_rt,errorcode =3D self.StartAutoGen(mqueue, AutoGenObje= ct.DataPipe, self.SkipAutoGen, PcdMaList, GlobalData.gCacheIR) @@ -1736,10 +1735,12 @@ class Build(): if Ma.PcdIsDriver: Ma.PlatformInfo =3D Pa Ma.Workspace =3D Wa PcdMaList.append(Ma) self.BuildModules.append(Ma) + Pa.DataPipe.DataContainer =3D {"FfsCommand":CmdListDic= t} + Pa.DataPipe.DataContainer =3D {"Workspace_timestamp": = Wa._SrcTimeStamp} self._BuildPa(self.Target, Pa, FfsCommand=3DCmdListDic= t,PcdMaList=3DPcdMaList) =20 # Create MAP file when Load Fix Address is enabled. if self.Target in ["", "all", "fds"]: for Arch in Wa.ArchList: --=20 2.20.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#46143): https://edk2.groups.io/g/devel/message/46143 Mute This Topic: https://groups.io/mt/32976745/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-