mirror_edk2/BaseTools/Source/Python/AutoGen
Yunhua Feng 74f59e9275 BaseTools: Fix bug PCD type in component is not same with Pcd section
Per DSC spec 3.11 [Components] Sections:
The PCD access methods (and storage methods) are selected on a platform
basis - it is not permitted to have a PCD listed in one of the Pcd
sections and use it differently in an individual module. For example,
if a PCD is listed in a [PcdsFixedAtBuild] section, it is not permitted
to list it in a <PcdsPatchableInModule> sub-section of an INF file.
but current code doesn't report error for this case.

Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=951
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
2018-05-22 19:33:35 +08:00
..
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
AutoGen.py BaseTools: Fix bug PCD type in component is not same with Pcd section 2018-05-22 19:33:35 +08:00
BuildEngine.py BaseTools: AutoGen - refactor class factory 2018-05-04 13:03:01 +08:00
GenC.py BaseTools: Remove the redundant code 2018-05-10 08:38:15 +08:00
GenDepex.py BaseTools: refactor Depex optomization 2018-05-04 13:07:56 +08:00
GenMake.py BaseTools: AutoGen - remove unused variables. 2018-04-26 14:43:25 +08:00
GenPcdDb.py BaseTools: standardize GUID and pack size 2018-05-04 13:07:34 +08:00
GenVar.py BaseTools: dont make iterator into list if not needed 2018-05-04 13:08:09 +08:00
IdfClassObject.py BaseTools: remove unused member variable 2018-05-04 13:03:11 +08:00
InfSectionParser.py BaseTools: remove redundant content in InfSectionParser 2018-05-04 13:03:11 +08:00
StrGather.py BaseTools: Remove equality operator with None 2018-03-30 08:25:13 +08:00
UniClassObject.py BaseTools: AutoGen - UniClassObject refactor static methods 2018-05-04 13:03:03 +08:00
ValidCheckingInfoObject.py BaseTools: standardize GUID and pack size 2018-05-04 13:07:34 +08:00