summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
diff options
context:
space:
mode:
authorYonghong Zhu <yonghong.zhu@intel.com>2016-04-12 10:31:55 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2016-04-20 09:24:46 +0800
commit2a29017e3e305a10ee1003354c0d0c037923341d (patch)
tree2890a5b03585f6883ac045a2e98c82b261acd436 /BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
parent90bb4c577d055e7ac6f0488b21885f65617eec82 (diff)
downloadedk2-2a29017e3e305a10ee1003354c0d0c037923341d.tar.gz
edk2-2a29017e3e305a10ee1003354c0d0c037923341d.tar.bz2
edk2-2a29017e3e305a10ee1003354c0d0c037923341d.zip
BaseTools: Add mixed PCD support feature
Problem statement: The current build system requires that a PCD must use the same access method for all modules. A Binary Module may use a different PCD access method than: 1.A source tree build it is integrated into. 2.Other Binary Modules in platform build that use the same PCD. Solution: 1. Source build: No change. PCDs must use the same access method for building all Source Modules. 2. Mixed Source & Binary Builds or Binary Only Builds: 1) Source Modules - No changes 2) Module that is interpreted as a Binary Module a.DSC file may optionally override default value of PatchableInModule PCDs in scope of Binary Module. b.DSC file must declare DynamicEx PCD subtype for all DynamicEx PCDs from Binary Modules. c.FDF file must list Binary Module INF Build update: 1. PCDs in a binary module are permitted to use the PatchableInModule or DynamicEx access methods (the Binary INF clearly identifies the PCD access method for each PCD). The build must support binary modules that use the same or different PCD access method than the Source INFs or other Binary INFs. 2. Build report list PCDs that have mixed PCD access methods. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py')
0 files changed, 0 insertions, 0 deletions