mirror_edk2/BaseTools/Source/Python
Yonghong Zhu 2a29017e3e 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>
2016-04-20 09:24:46 +08:00
..
AutoGen BaseTools: Add mixed PCD support feature 2016-04-20 09:24:46 +08:00
BPDG BaseTools/BPDG: Fix the bug to get the PCD Size 2016-03-14 11:33:12 +08:00
build BaseTools: Add mixed PCD support feature 2016-04-20 09:24:46 +08:00
Common BaseTools: Add mixed PCD support feature 2016-04-20 09:24:46 +08:00
CommonDataClass BaseTools: Add support to merge Prebuild and Postbuild into build Process 2016-04-07 13:13:22 +08:00
Ecc BaseTools: Change source files to DOS format. 2016-03-10 17:37:51 +08:00
Eot There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools. 2014-08-15 03:06:48 +00:00
GenFds BaseTools/GenFds: remove the old logic since ActivePlatform is abs. path 2016-04-19 18:35:42 +08:00
GenPatchPcdTable BaseTools: Fix GenPatchPcdTable to support '-' characters in file names 2016-01-18 01:42:20 +00:00
PatchPcdValue BaseTools: Clean some coding style issues 2015-12-01 04:22:16 +00:00
Rsa2048Sha256Sign BaseTools: Do not create an empty file if Rsa2048Sha256Sign was failed. 2015-07-01 05:14:28 +00:00
Table BaseTools: Clean some coding style issues 2015-12-01 04:22:16 +00:00
TargetTool License header updated to match correct format. 2014-08-28 13:53:34 +00:00
Trim BaseTools: update the mail address for stack trace info 2016-03-11 12:29:59 +08:00
UPT BaseTools: update the mail address for stack trace info 2016-03-11 12:29:59 +08:00
Workspace BaseTools: Add mixed PCD support feature 2016-04-20 09:24:46 +08:00
GNUmakefile Sync BaseTool trunk (version r2599) into EDKII BaseTools. 2013-08-23 02:18:16 +00:00
Makefile BaseTools: Support recent versions of cx_freeze. 2016-03-15 17:03:10 +08:00
sitecustomize.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00