summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Workspace
diff options
context:
space:
mode:
authorFeng, Bob C <bob.c.feng@intel.com>2019-10-24 08:35:44 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2019-11-13 03:22:39 +0000
commitd847ac1f27cca3e78698559a7c96f5f5d115bc8b (patch)
tree2925dc10309def06c96bd44a217859466f8b7bc5 /BaseTools/Source/Python/Workspace
parentbfcf262488a140550a53361c225a9b2b1bee0db8 (diff)
downloadedk2-d847ac1f27cca3e78698559a7c96f5f5d115bc8b.tar.gz
edk2-d847ac1f27cca3e78698559a7c96f5f5d115bc8b.tar.bz2
edk2-d847ac1f27cca3e78698559a7c96f5f5d115bc8b.zip
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 <liming.gao@intel.com> Signed-off-by: Bob Feng <bob.c.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace')
-rw-r--r--BaseTools/Source/Python/Workspace/MetaFileParser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/Workspace/MetaFileParser.py b/BaseTools/Source/Python/Workspace/MetaFileParser.py
index 806fc322c5..0a131fc769 100644
--- a/BaseTools/Source/Python/Workspace/MetaFileParser.py
+++ b/BaseTools/Source/Python/Workspace/MetaFileParser.py
@@ -328,6 +328,7 @@ class MetaFileParser(object):
S1 = ItemList[1].upper()
else:
S1 = TAB_ARCH_COMMON
+ S1 = ReplaceMacro(S1, self._Macros)
ArchList.add(S1)
# S2 may be Platform or ModuleType