audk/BaseTools/Source/Python/AutoGen
Yonghong Zhu 763e8edf61 BaseTools: add new command line option to support override PCD value
this patch add new feature to support override PCD value on the command
line. The value from the command line is the highest priority.
1.Add option(--pcd) to support both PcdName and TokenSpaceGuild.PcdName
2.For void* type PCD, use following format:
  cstring PCD: --pcd PcdName="string"
  unicodestring PCD: --pcd PcdName=L"string"
  CArray PCD: --pcd PcdName=B"{0x1, 0x2}"
3.Build Report, use *B to show the PCD value was overridden in the
command line.
4.Error Condition:
Report error if the PCD is not found
Report error if the PcdName is found under multiple different TokenSpaceGuid
Report error if PCD value syntax is incorrect
Report error if void* type PCD value exceed its max size

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-03-16 10:35:52 +08:00
..
AutoGen.py BaseTools: add new command line option to support override PCD value 2016-03-16 10:35:52 +08:00
BuildEngine.py BaseTools: Clean some coding style issues 2015-12-01 04:22:16 +00:00
GenC.py BaseTools: add new command line option to support override PCD value 2016-03-16 10:35:52 +08:00
GenDepex.py BaseTools: Clean some coding style issues 2015-12-01 04:22:16 +00:00
GenMake.py BaseTools: Add Multiple Workspaces support for custom Makefiles. 2016-03-09 10:05:27 +08:00
GenPcdDb.py BaseTools: add new command line option to support override PCD value 2016-03-16 10:35:52 +08:00
InfSectionParser.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00
StrGather.py BaseTools: Clean some coding style issues 2015-12-01 04:22:16 +00:00
UniClassObject.py BaseTools: Clean some coding style issues 2015-12-01 04:22:16 +00:00
ValidCheckingInfoObject.py BaseTools: Fix build fail when the number in validlist is long type. 2015-08-21 01:09:16 +00:00
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00