diff options
author | Feng, Bob C <bob.c.feng@intel.com> | 2019-10-24 08:35:44 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2019-11-13 03:22:39 +0000 |
commit | d847ac1f27cca3e78698559a7c96f5f5d115bc8b (patch) | |
tree | 2925dc10309def06c96bd44a217859466f8b7bc5 | |
parent | bfcf262488a140550a53361c225a9b2b1bee0db8 (diff) | |
download | edk2-d847ac1f27cca3e78698559a7c96f5f5d115bc8b.tar.gz |
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>
-rw-r--r-- | BaseTools/Source/Python/Workspace/MetaFileParser.py | 1 |
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
|