From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web10.5529.1573524233606009489 for ; Mon, 11 Nov 2019 18:03:53 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: bob.c.feng@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Nov 2019 18:03:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,294,1569308400"; d="scan'208";a="207301212" Received: from shwdepsi1121.ccr.corp.intel.com ([10.239.158.47]) by orsmga006.jf.intel.com with ESMTP; 11 Nov 2019 18:03:52 -0800 From: "Bob Feng" To: devel@edk2.groups.io Cc: Liming Gao , Bob Feng Subject: [Patch 1/1] BaseTools: Enable MACRO for DSC Components section tag Date: Tue, 12 Nov 2019 10:03:50 +0800 Message-Id: <20191112020350.22644-1-bob.c.feng@intel.com> X-Mailer: git-send-email 2.20.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2308 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 = ItemList[1].upper() else: S1 = TAB_ARCH_COMMON + S1 = 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_SET: -- 2.20.1.windows.1