From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Permerror (SPF Permanent Error: More than 10 MX records returned) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 80CA120352ABD for ; Sun, 10 Dec 2017 18:28:19 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Dec 2017 18:32:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,391,1508828400"; d="scan'208";a="183104850" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 10 Dec 2017 18:32:55 -0800 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 10 Dec 2017 18:32:55 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 10 Dec 2017 18:32:55 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Mon, 11 Dec 2017 10:32:53 +0800 From: "Gao, Liming" To: "Zhu, Yonghong" , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" , "Shaw, Kevin W" Thread-Topic: [Patch] Build spec: Add clarification for the binary cache files Thread-Index: AQHTbLJbN85QxteGs02z9fGRliosoKM9dykA Date: Mon, 11 Dec 2017 02:32:53 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E18E5BD@SHSMSX104.ccr.corp.intel.com> References: <1512359126-10900-1-git-send-email-yonghong.zhu@intel.com> In-Reply-To: <1512359126-10900-1-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] Build spec: Add clarification for the binary cache files 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: Mon, 11 Dec 2017 02:28:19 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: Zhu, Yonghong >Sent: Monday, December 04, 2017 11:45 AM >To: edk2-devel@lists.01.org >Cc: Gao, Liming ; Kinney, Michael D >; Shaw, Kevin W >Subject: [Patch] Build spec: Add clarification for the binary cache files > >Add clarification for the detail files that would be copied into the >directory specified by --binary-destination. > >Cc: Liming Gao >Cc: Michael Kinney >Cc: Kevin W Shaw >Contributed-under: TianoCore Contribution Agreement 1.1 >Signed-off-by: Yonghong Zhu >--- > 8_pre-build_autogen_stage/82_auto-generation_process.md | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/8_pre-build_autogen_stage/82_auto-generation_process.md >b/8_pre-build_autogen_stage/82_auto-generation_process.md >index f2ddf32..f610185 100644 >--- a/8_pre-build_autogen_stage/82_auto-generation_process.md >+++ b/8_pre-build_autogen_stage/82_auto-generation_process.md >@@ -1043,13 +1043,13 @@ option use md5 method to get every hash value, >DSC/FDF, tools_def.txt, build_rul > and build command are calculated as global hash value, Package DEC and it= s >include > header files are calculated as package hash value, Module source files an= d its >INF > file are calculated as module hash value. Library hash value will combine= the >global > hash value and its dependent package hash value. Driver hash value will >combine the > global hash value, its dependent package hash value and its linked librar= y >hash value. >-When --hash and --binary-destination are specified, build tool will copy = the >generated >-binary files for each module into the directory specified by binary-desti= nation >at the >-build phase. Binary-destination directory caches all the generated binary= files. >+When --hash and --binary-destination are specified, build tool will copy = each >module's >+"As Built" inf file, binary files that in "As built" inf file's [Binaries= ] section and >+hash value file into the directory specified by binary-destination at the= build >phase. > When --hash and --binary-source are specified, build tool will try to get= the >binary > files from the binary source directory at the build phase. If the cached = binary >has > the same hash value, it will be directly used. Otherwise, build tool will= compile >the > source files and generate the binary files. > >-- >2.6.1.windows.1