diff options
author | Feng, Bob C <bob.c.feng@intel.com> | 2018-09-04 14:13:18 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-09-12 11:25:20 +0800 |
commit | 71127ce88392d2a0392cb0cb90eaa0245da14f05 (patch) | |
tree | d1b9a6d832a5fd284fdf2df0d65b6ca98ab165cc /BaseTools/Source/Python/AutoGen/AutoGen.py | |
parent | b62cbfb787e1ac594fce618a1a9c86cabc63d54b (diff) | |
download | edk2-71127ce88392d2a0392cb0cb90eaa0245da14f05.tar.gz edk2-71127ce88392d2a0392cb0cb90eaa0245da14f05.tar.bz2 edk2-71127ce88392d2a0392cb0cb90eaa0245da14f05.zip |
BaseTools: Structure Pcd value override incorrect.
This patch is going to fix the issue that
The Pcd field value is override incorrectly when there
is no Pcd overall value assignment in Dsc file.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/AutoGen.py')
-rw-r--r-- | BaseTools/Source/Python/AutoGen/AutoGen.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/Source/Python/AutoGen/AutoGen.py index 95370d1821..ac3cf7eef3 100644 --- a/BaseTools/Source/Python/AutoGen/AutoGen.py +++ b/BaseTools/Source/Python/AutoGen/AutoGen.py @@ -1655,6 +1655,7 @@ class PlatformAutoGen(AutoGen): continue
pcd.SkuInfoList[SkuName] = copy.deepcopy(pcd.SkuInfoList[TAB_DEFAULT])
pcd.SkuInfoList[SkuName].SkuId = SkuId
+ pcd.SkuInfoList[SkuName].SkuIdName = SkuName
self.AllPcdList = self._NonDynamicPcdList + self._DynamicPcdList
def FixVpdOffset(self, VpdFile ):
|