]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/build/BuildReport.py
BaseTools:Fix the issue that build report failed
authorFan, ZhijuX <zhijux.fan@intel.com>
Thu, 19 Sep 2019 09:04:29 +0000 (17:04 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Thu, 19 Sep 2019 09:11:57 +0000 (17:11 +0800)
commit85ccbee2abf4ac9ed006409d1b02a3bdd660261c
treef967e8de44b25685bb52e7566e902576ad04a626
parentd652b458f576de785e9f905e6690e28904b1eed1
BaseTools:Fix the issue that build report failed

BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2201

An error occurs using special VpdPcd that is not used in the Inf file

In dsc:
[PcdsDynamicExVpd.common.DEFAULT]
gBoardModuleTokenSpaceGuid.test1|*|{CODE({
  {0x0}  // terminator
})}

In dec:
[PcdsDynamicEx]
# Vpd GPIO table
  gBoardModuleTokenSpaceGuid.test1|{0}|GPIO_INIT_CONFIG[]|0x50000018 {
  <HeaderFiles>
    Library/GpioLib.h
  <Packages>
    MdePkg/MdePkg.dec
}
ValueError: invalid literal for int() with base 0: '*'

This Patch is going to fix issue

Cc: Liming Gao <liming.gao@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/build/BuildReport.py