From nobody Thu May 2 11:51:48 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+55464+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55464+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1583369843; cv=none; d=zohomail.com; s=zohoarc; b=g3oubrLr6gK6Yh/9p24q0J//GQ1IwhY0n8HI1H1qpaSs37BE169Zf/jXUl9JxoWr8a3E+E88LEsnkUJ8Zmq4qTf6OUdQYNKrgjy8RmqHgawjdkQB9D1eRll1/falt480Ffug/uMuOvtHIOb6ms9PdQpuCD2a1lQ2DcscxNADCpI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583369843; h=Cc:Date:From:List-Id:List-Unsubscribe:Message-ID:Reply-To:Sender:Subject:To; bh=mHh7P2rC9ylawQOOWSoSEDkKmS1wbPsLx6rzO67xLIc=; b=Zczr5c/KbAl2mn/uAygtxTMx3NnjZro8EnNJH5yu3s2vZY0CCXGn0mCclVXf6MqoCoAFdzEs6TmzSvrHgYMSkzIYJ952HEBlTLtlKAvVLukapsQJm1zR9e642TmaR4XIw3B+ZFhdgAvQwO+LYIUs9DzAE4OCKnhdYYv84D3JhIA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55464+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 1583369843385836.8834941321604; Wed, 4 Mar 2020 16:57:23 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id KAkAYY1788612xTWAW5Te1Z2; Wed, 04 Mar 2020 16:57:23 -0800 X-Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web10.3980.1583369842002554196 for ; Wed, 04 Mar 2020 16:57:22 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Mar 2020 16:57:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,516,1574150400"; d="scan'208";a="263799721" X-Received: from zhijufax-mobl.ccr.corp.intel.com ([10.238.4.120]) by fmsmga004.fm.intel.com with ESMTP; 04 Mar 2020 16:57:19 -0800 From: "Fan, ZhijuX" To: devel@edk2.groups.io Cc: "Zhiju . Fan" , Liming Gao , Bob Feng Subject: [edk2-devel] [PATCH] BaseTools:GuidedSectionTools.txt is not generated correctly Date: Thu, 5 Mar 2020 08:57:12 +0800 Message-Id: <20200305005712.760-1-zhijux.fan@intel.com> 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,zhijux.fan@intel.com X-Gm-Message-State: 8Ki4eamqeHBwH00UxEq5cOHSx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1583369843; bh=eqoyPlMDEzjrXRNtbc0AQ3tgvCi9dd5I6AmZMzRs1sk=; h=Cc:Date:From:Reply-To:Subject:To; b=eEEcezie4DzNbE2jNjLioqRG4ITZrwoGQ3gazEytjDmhZCEcVUjZOU37l5sJbcc/mJc 2TvX38POONtraQ7rUNS7Dx2IrwvjMcU9PAT/hsSw/5C7SKlYHl3Ts4jwjlr6nsJjbCPxo EkHMqTjRGX5if0tJPsPtURr/pq/1nk6qnis= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D2538 For LzmaCompress or BrotliCompress, the platform may use the different options and add their batch file, such as LzmaCompressPlatform. Then, specify it in platform.dsc [BuildOptions] to override the default one in tools_def.txt. *_*_*_LZMA_PATH =3D LzmaCompressPlatform This override tool will be used. But, its name is not specified in the generated GuidedSectionTools.txt. Signed-off-by: Zhiju.Fan Cc: Liming Gao Cc: Bob Feng --- BaseTools/Source/Python/AutoGen/PlatformAutoGen.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BaseTools/Source/Python/AutoGen/PlatformAutoGen.py b/BaseTools= /Source/Python/AutoGen/PlatformAutoGen.py index d32178b00c..478a5116fd 100644 --- a/BaseTools/Source/Python/AutoGen/PlatformAutoGen.py +++ b/BaseTools/Source/Python/AutoGen/PlatformAutoGen.py @@ -866,7 +866,9 @@ class PlatformAutoGen(AutoGen): Value +=3D " " + self._BuildOptionWithToolDef(= RetVal)[Tool][Attr] else: Value =3D self._BuildOptionWithToolDef(RetVal)= [Tool][Attr] - + Def =3D '_'.join([self.BuildTarget, self.ToolC= hain, self.Arch, Tool, Attr]) + if self.Workspace.ToolDef.ToolsDefTxtDictionar= y.get(Def): + self.Workspace.ToolDef.ToolsDefTxtDictiona= ry[Def] =3D Value if Attr =3D=3D "PATH": # Don't put MAKE definition in the file if Tool !=3D "MAKE": --=20 2.14.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 (#55464): https://edk2.groups.io/g/devel/message/55464 Mute This Topic: https://groups.io/mt/71739757/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-