Reviewed-by: Liming Gao <[email protected]>

>-----Original Message-----
>From: Feng, Bob C
>Sent: Tuesday, November 12, 2019 10:04 AM
>To: [email protected]
>Cc: Gao, Liming <[email protected]>; Feng, Bob C <[email protected]>
>Subject: [Patch 1/1] BaseTools: Enable MACRO for DSC Components section
>tag
>
>BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2308
>
>This patch is to enable MACRO for Components section architecture
>modifier.
>
>Cc: Liming Gao <[email protected]>
>Signed-off-by: Bob Feng <[email protected]>
>---
> 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


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#50409): https://edk2.groups.io/g/devel/message/50409
Mute This Topic: https://groups.io/mt/53630839/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to