diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2017-09-05 19:34:03 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2017-09-09 10:10:16 +0800 |
commit | f95678cf164e81aea0e7db591bcf5921f49d05f1 (patch) | |
tree | 61e2794d0f6a7c1b3fc3c63254211095034eaecc /BaseTools/Source/Python | |
parent | 8b6366f8758426fd6710646574b9a7e583e0fe0d (diff) | |
download | edk2-f95678cf164e81aea0e7db591bcf5921f49d05f1.tar.gz edk2-f95678cf164e81aea0e7db591bcf5921f49d05f1.tar.bz2 edk2-f95678cf164e81aea0e7db591bcf5921f49d05f1.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python')
-rw-r--r-- | BaseTools/Source/Python/Workspace/WorkspaceDatabase.py | 2 |
1 files changed, 1 insertions, 1 deletions
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
#
|