audk/BaseTools/Source/Python/GenFds
Fan, ZhijuX 4465cd124f BaseTools:Fix GenFds issue for BuildOption replace GenFdsOption
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2455

BuildOption is used by TargetTxtClassObj.py
GenFdsOption is used by GenFds.py
When the GenFds tool is used alone (e.g. python3 -m GenFds.GenFds -h)
With the OptionParser function, the first detected function
prints the help message

import TargetTxtClassObj to GenFds,
The BuildOption will be executed and replace GenFdsOption

We removed all objects associated with this problem that
were created directly during the import process
(e.g. BuildOption, BuildTarget = MyOptionParser(),
 TargetTxt = TargetTxtDict())

The Patch is going to fix this issue

Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>

Cc: Liming Gao <liming.gao@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2020-01-13 02:08:46 +00:00
..
AprioriSection.py BaseTools:change some incorrect parameter defaults 2019-09-17 10:18:51 +08:00
Capsule.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
CapsuleData.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
CompressSection.py BaseTools:change some incorrect parameter defaults 2019-09-17 10:18:51 +08:00
DataSection.py BaseTools:change some incorrect parameter defaults 2019-09-17 10:18:51 +08:00
DepexSection.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
EfiSection.py BaseTools:change some incorrect parameter defaults 2019-09-17 10:18:51 +08:00
Fd.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
FdfParser.py BaseTools: Add HOST_APPLICATION module type. 2019-07-12 21:06:57 +08:00
Ffs.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
FfsFileStatement.py BaseTools:change some incorrect parameter defaults 2019-09-17 10:18:51 +08:00
FfsInfStatement.py BaseTools:change some incorrect parameter defaults 2019-09-17 10:18:51 +08:00
Fv.py BaseTools:change some incorrect parameter defaults 2019-09-17 10:18:51 +08:00
FvImageSection.py BaseTools:change some incorrect parameter defaults 2019-09-17 10:18:51 +08:00
GenFds.py BaseTools:Fix GenFds issue for BuildOption replace GenFdsOption 2020-01-13 02:08:46 +00:00
GenFdsGlobalVariable.py BaseTools:Fix GenFds issue for BuildOption replace GenFdsOption 2020-01-13 02:08:46 +00:00
GuidSection.py BaseTools:change some incorrect parameter defaults 2019-09-17 10:18:51 +08:00
OptRomFileStatement.py BaseTools:change some incorrect parameter defaults 2019-09-17 10:18:51 +08:00
OptRomInfStatement.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
OptionRom.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Region.py BaseTools:change some incorrect parameter defaults 2019-09-17 10:18:51 +08:00
Rule.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
RuleComplexFile.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
RuleSimpleFile.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Section.py BaseTools:change some incorrect parameter defaults 2019-09-17 10:18:51 +08:00
UiSection.py BaseTools:change some incorrect parameter defaults 2019-09-17 10:18:51 +08:00
VerSection.py BaseTools:change some incorrect parameter defaults 2019-09-17 10:18:51 +08:00
__init__.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00