summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Workspace/DecBuildData.py
diff options
context:
space:
mode:
authorFeng, Bob C <bob.c.feng@intel.com>2018-01-23 11:03:05 +0800
committerLiming Gao <liming.gao@intel.com>2018-01-25 18:07:59 +0800
commit6a103440806c33c0aaa401cd443dc786d259397e (patch)
treedb3d6d9a1c77bcfeb93ae8ad6177980cbb080488 /BaseTools/Source/Python/Workspace/DecBuildData.py
parente6bf3cfd50c1f4f6c6d4648ee89c950094d85727 (diff)
downloadedk2-6a103440806c33c0aaa401cd443dc786d259397e.tar.gz
edk2-6a103440806c33c0aaa401cd443dc786d259397e.tar.bz2
edk2-6a103440806c33c0aaa401cd443dc786d259397e.zip
BaseTools: Add comments for the Structure Pcd definition in PcdValueInit.c 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/Workspace/DecBuildData.py')
-rw-r--r--BaseTools/Source/Python/Workspace/DecBuildData.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/Workspace/DecBuildData.py b/BaseTools/Source/Python/Workspace/DecBuildData.py
index 01f716bfab..f6b908dee6 100644
--- a/BaseTools/Source/Python/Workspace/DecBuildData.py
+++ b/BaseTools/Source/Python/Workspace/DecBuildData.py
@@ -383,6 +383,8 @@ class DecBuildData(PackageBuildClassObject):
struct_pcd.copy(item)
struct_pcd.TokenValue = struct_pcd.TokenValue.strip("{").strip()
struct_pcd.TokenSpaceGuidCName, struct_pcd.TokenCName = pcdname.split(".")
+ struct_pcd.PcdDefineLineNo = LineNo
+ struct_pcd.PkgPath = self.MetaFile.File
else:
struct_pcd.AddDefaultValue(item.TokenCName, item.DefaultValue,self.MetaFile.File,LineNo)