summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Workspace/DscBuildData.py
diff options
context:
space:
mode:
authorZhaozh1x <zhiqiangx.zhao@intel.com>2018-09-26 16:04:06 +0800
committerLiming Gao <liming.gao@intel.com>2018-10-16 08:59:51 +0800
commitaa52648c1e6f26b6b8734119ab8f6ba2890a1dad (patch)
tree00c8e3412183904602ee436acba3faf48d14ef67 /BaseTools/Source/Python/Workspace/DscBuildData.py
parenta96133d2d16e9c1fc172854f7f2aa7b0d4e51746 (diff)
downloadedk2-aa52648c1e6f26b6b8734119ab8f6ba2890a1dad.tar.gz
edk2-aa52648c1e6f26b6b8734119ab8f6ba2890a1dad.tar.bz2
edk2-aa52648c1e6f26b6b8734119ab8f6ba2890a1dad.zip
BaseTools:Fix issue caused by 84a52d4d030185a44f2d8736142c6f0b19c6e9b1
The commit 84a52d4d030185a44f2d8736142c6f0b19c6e9b1 will introduce the new issue "Invalid offset value for Dynamic Vpd PCD". This patch will fix the new issue, add 'DEFAULT' sku in to the AvailableSkuIdSet variable. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: ZhiqiangX Zhao <zhiqiangx.zhao@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Bob Feng <bob.c.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DscBuildData.py')
-rw-r--r--BaseTools/Source/Python/Workspace/DscBuildData.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTools/Source/Python/Workspace/DscBuildData.py
index c2109b1fe2..f41038e26d 100644
--- a/BaseTools/Source/Python/Workspace/DscBuildData.py
+++ b/BaseTools/Source/Python/Workspace/DscBuildData.py
@@ -1415,6 +1415,7 @@ class DscBuildData(PlatformBuildClassObject):
Pcds = AllPcds
DefaultStoreMgr = DefaultStore(self.DefaultStores)
SkuIds = self.SkuIds
+ self.SkuIdMgr.AvailableSkuIdSet.update({TAB_DEFAULT:0})
DefaultStores = {storename for pcdobj in AllPcds.values() for skuobj in pcdobj.SkuInfoList.values() for storename in skuobj.DefaultStoreDict}
S_PcdSet = []