BaseTools: correct to use specific arch to generate DSC database

Not generic to use 'Common' arch, but use current build arch.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Yonghong Zhu 2017-09-05 19:34:03 +08:00
parent 8b6366f875
commit f95678cf16
1 changed files with 1 additions and 1 deletions

View File

@ -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
#