diff options
author | Feng, Bob C <bob.c.feng@intel.com> | 2018-02-28 13:59:18 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-02-28 16:45:31 +0800 |
commit | 06140766c13fb9288a922990ffde77fca93fc71d (patch) | |
tree | 7b9a7afa6192dfb260456ff00a92f23b77893c06 /BaseTools/Source/Python/Workspace/DecBuildData.py | |
parent | a68749f39a2e04ef68e5656b7b72fca25a2e23dc (diff) | |
download | edk2-06140766c13fb9288a922990ffde77fca93fc71d.tar.gz edk2-06140766c13fb9288a922990ffde77fca93fc71d.tar.bz2 edk2-06140766c13fb9288a922990ffde77fca93fc71d.zip |
BaseTools: Fixed the pcd value override issue.
1. the issue in the overriding value from command line.
2. dec fully value < dec field assign value <
dsc fully value < dsc field assign value
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.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/Workspace/DecBuildData.py b/BaseTools/Source/Python/Workspace/DecBuildData.py index 99c3bf14f1..61f15086d0 100644 --- a/BaseTools/Source/Python/Workspace/DecBuildData.py +++ b/BaseTools/Source/Python/Workspace/DecBuildData.py @@ -385,6 +385,7 @@ class DecBuildData(PackageBuildClassObject): struct_pcd.TokenSpaceGuidCName, struct_pcd.TokenCName = pcdname.split(".")
struct_pcd.PcdDefineLineNo = LineNo
struct_pcd.PkgPath = self.MetaFile.File
+ struct_pcd.SetDecDefaultValue(item.DefaultValue)
else:
struct_pcd.AddDefaultValue(item.TokenCName, item.DefaultValue,self.MetaFile.File,LineNo)
|