]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/build/BuildReport.py
BaseTools: Fix the build report crash issue
authorBob Feng <bob.c.feng@intel.com>
Wed, 6 Jan 2021 02:21:57 +0000 (10:21 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 14 Jan 2021 04:12:09 +0000 (04:12 +0000)
commit536a3e67263b6d891152c0511cbdbbadf42a7360
treefe947d9a79c2abf6bc21686c5bbb1f2fca6d3bc7
parentda45a3608787d77fc55d915bee3903f5119b3ee6
BaseTools: Fix the build report crash issue

In the following corner case, the build report
will crash. This patch is to fix this problem.

Case:
Multiple SKU are used and 2 more DynamicHii structure Pcds
are set in dsc file under different SKU. And 1 more of those
Pcds are not used in any INF file.

Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Yuwei Chen<yuwei.chen@intel.com>
BaseTools/Source/Python/build/BuildReport.py