]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Fixed a bug in Vpd handling
authorFeng, Bob C <bob.c.feng@intel.com>
Mon, 18 Feb 2019 09:20:25 +0000 (17:20 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Tue, 19 Feb 2019 12:32:43 +0000 (20:32 +0800)
commitc0ebd9d30fd8427e1e35c40a16221e00ff0ba6cc
treed22dd79c32ed1a5f450aafb02c3bd980fde31785
parent97f003236f417947a5675de709c3d1869cd54584
BaseTools: Fixed a bug in Vpd handling

If there are multiple sku used in a platform and
gEfiMdeModulePkgTokenSpaceGuid.PcdNvStoreDefaultValueBuffer PCD
is used, build will fail.

This is a regression issue introduced by the commit:
5695877ec8f636bd4ad873ef50eceb9da7a0f382 which only update the
Vpd offset for default SKU but not other SKUs.

This patch is going to fix this issue.

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>
BaseTools/Source/Python/AutoGen/AutoGen.py