From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id AEB6321DFA7AF for ; Tue, 11 Apr 2017 23:36:02 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP; 11 Apr 2017 23:36:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,189,1488873600"; d="scan'208";a="1118478988" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 11 Apr 2017 23:36:02 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 11 Apr 2017 23:36:02 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 11 Apr 2017 23:36:01 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.246]) by SHSMSX104.ccr.corp.intel.com ([10.239.4.70]) with mapi id 14.03.0319.002; Wed, 12 Apr 2017 14:36:00 +0800 From: "Gao, Liming" To: "Zhu, Yonghong" , "edk2-devel@lists.01.org" CC: Derek Lin Thread-Topic: [edk2] [PATCH 2/2] BaseTools: Fix re-build issue after tools_def/build_rule updated. Thread-Index: AQHSso8hJt74TNNC3Euxtua/JVn1vqHBSPaw Date: Wed, 12 Apr 2017 06:35:58 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D71D3B5@shsmsx102.ccr.corp.intel.com> References: <1491893068-8560-1-git-send-email-yonghong.zhu@intel.com> <1491893068-8560-2-git-send-email-yonghong.zhu@intel.com> In-Reply-To: <1491893068-8560-2-git-send-email-yonghong.zhu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 2/2] BaseTools: Fix re-build issue after tools_def/build_rule updated. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2017 06:36:02 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Yonghong Zhu >Sent: Tuesday, April 11, 2017 2:44 PM >To: edk2-devel@lists.01.org >Cc: Derek Lin >Subject: [edk2] [PATCH 2/2] BaseTools: Fix re-build issue after >tools_def/build_rule updated. > >From: Derek Lin > >Add tools_def.txt and build_rule.txt to workspace autogen timestamp file. >Now it will not skip autogen if this two file is updated. > >Contributed-under: TianoCore Contribution Agreement 1.0 >Signed-off-by: Derek Lin >Reviewed-by: Yonghong Zhu >--- > BaseTools/Source/Python/AutoGen/AutoGen.py | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py >b/BaseTools/Source/Python/AutoGen/AutoGen.py >index 70c6c91186..3d3dfefdbc 100644 >--- a/BaseTools/Source/Python/AutoGen/AutoGen.py >+++ b/BaseTools/Source/Python/AutoGen/AutoGen.py >@@ -64,6 +64,9 @@ gMakeTypeMap =3D {"MSFT":"nmake", "GCC":"gmake"} > ## Build rule configuration file > gDefaultBuildRuleFile =3D 'Conf/build_rule.txt' > >+## Tools definition configuration file >+gDefaultToolsDefFile =3D 'Conf/tools_def.txt' >+ > ## Build rule default version > AutoGenReqBuildRuleVerNum =3D "0.1" > >@@ -721,6 +724,11 @@ class WorkspaceAutoGen(AutoGen): > AllWorkSpaceMetaFiles.add(self.MetaFile.Path) > > # >+ # add build_rule.txt & tools_def.txt >+ # >+ AllWorkSpaceMetaFiles.add(gDefaultBuildRuleFile) >+ AllWorkSpaceMetaFiles.add(gDefaultToolsDefFile) >+ > # add BuildOption metafile > # > AllWorkSpaceMetaFiles.add(os.path.join(self.BuildDir, 'BuildOptio= ns')) >-- >2.11.1.windows.1 > >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel