diff options
author | Fan, ZhijuX <zhijux.fan@intel.com> | 2019-02-21 09:33:55 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-02-22 15:47:14 +0800 |
commit | 29c2de1272f51d35594990eacbe9cc619c7ff519 (patch) | |
tree | 719b1fa70dd0b6db517e2d215d13996f39784139 /BaseTools/Source/Python/Workspace/InfBuildData.py | |
parent | f747640bf333801062b3b8837e7cfcda75ad6215 (diff) | |
download | edk2-29c2de1272f51d35594990eacbe9cc619c7ff519.tar.gz edk2-29c2de1272f51d35594990eacbe9cc619c7ff519.tar.bz2 edk2-29c2de1272f51d35594990eacbe9cc619c7ff519.zip |
BaseTools:Build fail if define [DEPEX] in library inf
When define [DEPEX] in lib inf to build, it will fail and report"
gUefiOvmfPkgTokenSpaceGuid.test1 used in [Depex] section should be
used as FixedAtBuild type and VOID* datum type in the module."
But we define this PCD to FixedAtBuild type and VOID* datum type indeed.
DEC:
[PcdsFixedAtBuild]
gUefiOvmfPkgTokenSpaceGuid.test1 |
{GUID("4096267b-da0a-42eb-b5eb-fef31d207cb4")}|VOID*|0x3c
DSC:
add pcd under lib inf as below:
NULL|TestPkg/TestLib/TestLib.inf
<PcdsFixedAtBuild>
gUefiOvmfPkgTokenSpaceGuid.test1 | {GUID(gUefiOvmfPkgTokenSpaceGuid)}
Lib inf:(TestPkg/TestLib/TestLib.inf)
[Depex]
gUefiOvmfPkgTokenSpaceGuid.test1
[FixedPcd]
gUefiOvmfPkgTokenSpaceGuid.test1
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>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/InfBuildData.py')
0 files changed, 0 insertions, 0 deletions