]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Workspace/DscBuildData.py
BaseTools: PCD value incorrect in structure pcd sku case.
authorFan, ZhijuX <zhijux.fan@intel.com>
Fri, 1 Feb 2019 07:41:06 +0000 (15:41 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Sat, 2 Feb 2019 02:28:54 +0000 (10:28 +0800)
commit5895f7f6d41591767f56d498d31a43a873bafe84
tree02404b329c405b4ab043b8695109d977fb7868f9
parent7381bd3e753c4d3b706c752ec1d4305b3378af35
BaseTools: PCD value incorrect in structure pcd sku case.

Defined 2 PCDs(Test4 & Test401) and 2 SKUs(DEFAULT & _),
then set "SKUID_Defines" to ALL, for FixedAtBuild
gEfiStructuredPcdPkgTokenSpaceGuid. Test401 in this case,
its value should get from "Default" SKU, not from "_" SKU,
but we does not set value in SKU "_" in dsc, so Test401
should only display the value get from dec.

Missing the map() function causes SKU specific items to
not be deleted

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/Workspace/DscBuildData.py