From f95678cf164e81aea0e7db591bcf5921f49d05f1 Mon Sep 17 00:00:00 2001 From: Yonghong Zhu Date: Tue, 5 Sep 2017 19:34:03 +0800 Subject: [PATCH] BaseTools: correct to use specific arch to generate DSC database Not generic to use 'Common' arch, but use current build arch. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu Reviewed-by: Liming Gao --- BaseTools/Source/Python/Workspace/WorkspaceDatabase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py b/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py index fe2c7c17c4..b61722144c 100644 --- a/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py +++ b/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py @@ -3109,7 +3109,7 @@ determine whether database file is out of date!\n") def GetPackageList(self, Platform, Arch, TargetName, ToolChainTag): self.Platform = Platform PackageList = [] - Pa = self.BuildObject[self.Platform, 'COMMON'] + Pa = self.BuildObject[self.Platform, Arch] # # Get Package related to Modules # -- 2.39.2