From 951fb2d4e557c5bb0ad1b55c6610f004ee5be56b Mon Sep 17 00:00:00 2001 From: BobCF Date: Thu, 18 Oct 2018 13:32:40 +0800 Subject: [PATCH] BaseTools: Remove Arch specific build options for PcdValueInit tool. PcdValueInit tool is Arch independent, the Arch specific build options should be removed from PcdValueInit makefile. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob C Feng Reviewed-by: Liming Gao --- BaseTools/Source/Python/Workspace/DscBuildData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTools/Source/Python/Workspace/DscBuildData.py index f79eec1859..22c756b7a6 100644 --- a/BaseTools/Source/Python/Workspace/DscBuildData.py +++ b/BaseTools/Source/Python/Workspace/DscBuildData.py @@ -2288,7 +2288,7 @@ class DscBuildData(PlatformBuildClassObject): if Target == "*" or Target == self._Target: if Tag == "*" or Tag == self._Toolchain: - if Arch == "*" or Arch == self.Arch: + if Arch == "*": if Tool not in BuildOptions: BuildOptions[Tool] = OrderedDict() if Attr != "FLAGS" or Attr not in BuildOptions[Tool] or self.BuildOptions[Options].startswith('='): -- 2.39.2