]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Enable MACRO for DSC Components section tag
authorFeng, Bob C <bob.c.feng@intel.com>
Thu, 24 Oct 2019 00:35:44 +0000 (08:35 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 13 Nov 2019 03:22:39 +0000 (03:22 +0000)
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2308

This patch is to enable MACRO for Components section architecture
modifier.

Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/Workspace/MetaFileParser.py

index 806fc322c56c4944584479a7f300b8a4c4a0f816..0a131fc76981fea60f8c4a4f97a3d6ed2bec167c 100644 (file)
@@ -328,6 +328,7 @@ class MetaFileParser(object):
                 S1 = ItemList[1].upper()\r
             else:\r
                 S1 = TAB_ARCH_COMMON\r
+            S1 = ReplaceMacro(S1, self._Macros)\r
             ArchList.add(S1)\r
 \r
             # S2 may be Platform or ModuleType\r