From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web11.6323.1573528249573926090 for ; Mon, 11 Nov 2019 19:10:49 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: liming.gao@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Nov 2019 19:10:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,294,1569308400"; d="scan'208";a="405442399" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga006.fm.intel.com with ESMTP; 11 Nov 2019 19:10:48 -0800 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 11 Nov 2019 19:10:48 -0800 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 11 Nov 2019 19:10:47 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.127]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.248]) with mapi id 14.03.0439.000; Tue, 12 Nov 2019 11:10:46 +0800 From: "Liming Gao" To: "Feng, Bob C" , "devel@edk2.groups.io" Subject: Re: [Patch 1/1] BaseTools: Enable MACRO for DSC Components section tag Thread-Topic: [Patch 1/1] BaseTools: Enable MACRO for DSC Components section tag Thread-Index: AQHVmP1xn5XI6hrcMU67RfQuPLhlBqeG248A Date: Tue, 12 Nov 2019 03:10:45 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E53CFC0@SHSMSX104.ccr.corp.intel.com> References: <20191112020350.22644-1-bob.c.feng@intel.com> In-Reply-To: <20191112020350.22644-1-bob.c.feng@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 Return-Path: liming.gao@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: Feng, Bob C >Sent: Tuesday, November 12, 2019 10:04 AM >To: devel@edk2.groups.io >Cc: Gao, Liming ; Feng, Bob C >Subject: [Patch 1/1] BaseTools: Enable MACRO for DSC Components section >tag > >BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2308 > >This patch is to enable MACRO for Components section architecture >modifier. > >Cc: Liming Gao >Signed-off-by: Bob Feng >--- > BaseTools/Source/Python/Workspace/MetaFileParser.py | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/BaseTools/Source/Python/Workspace/MetaFileParser.py >b/BaseTools/Source/Python/Workspace/MetaFileParser.py >index 806fc322c56c..0a131fc76981 100644 >--- a/BaseTools/Source/Python/Workspace/MetaFileParser.py >+++ b/BaseTools/Source/Python/Workspace/MetaFileParser.py >@@ -326,10 +326,11 @@ class MetaFileParser(object): > # S1 is always Arch > if len(ItemList) > 1: > S1 =3D ItemList[1].upper() > else: > S1 =3D TAB_ARCH_COMMON >+ S1 =3D ReplaceMacro(S1, self._Macros) > ArchList.add(S1) > > # S2 may be Platform or ModuleType > if len(ItemList) > 2: > if self._SectionName.upper() in SECTIONS_HAVE_ITEM_PCD_SE= T: >-- >2.20.1.windows.1