mirror_edk2/BaseTools/Source/Python/GenFds
Yonghong Zhu e4979beee9 BaseTools/GenFds: enhance to get TOOL_CHAIN_TAG and TARGET value
when user don't set TOOL_CHAIN_TAG and TARGET by –D Flag, then GenFds
would report failure for format:
FILE DATA = $(OUTPUT_DIRECTORY)/$(TARGET)_$(TOOL_CHAIN_TAG)/testfile
so this patch enhance to get the TOOL_CHAIN_TAG and TARGET value by
following priority (high to low): 1. the Macro value set by -D Flag;
2. Get the value by the -t/-b option. 3. get the value from target.txt
file. Besides, this patch also remove the error checking for missing
-t/-b option.

Cc: Liming Gao <liming.gao@intel.com>
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-05-25 13:43:54 +08:00
..
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
AprioriSection.py 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
Attribute.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
Capsule.py BaseTools: Supported FMP capsule image. 2015-06-23 06:46:01 +00:00
CapsuleData.py BaseTools: Supported FMP capsule image. 2015-06-23 06:46:01 +00:00
ComponentStatement.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
CompressSection.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00
DataSection.py 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
DepexSection.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00
EfiSection.py BaseTools: Fixed incorrect alignment bug. 2015-07-16 00:56:14 +00:00
Fd.py 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
FdfParser.py BaseTools: fix the bug for FMP to support use Macro as path description 2016-04-29 14:51:06 +08:00
Ffs.py Sync BaseTools Trunk (version r2518) to EDKII main trunk. 2012-04-10 07:18:20 +00:00
FfsFileStatement.py BaseTools/GenFds: Fix the bug for wrong alignment generate for RAW file 2016-04-05 13:24:04 +08:00
FfsInfStatement.py BaseTools/GenFds: enhance INF built arch filter 2016-05-16 09:03:41 +08:00
Fv.py BaseTools/GenFds: Fix the bug for wrong alignment generate for RAW file 2016-04-05 13:24:04 +08:00
FvImageSection.py BaseTools: Fix bug in GenFds to handle FV image alignment 2016-05-11 12:25:44 +08:00
GenFds.py BaseTools/GenFds: enhance to get TOOL_CHAIN_TAG and TARGET value 2016-05-25 13:43:54 +08:00
GenFdsGlobalVariable.py BaseTools: add the support for --pcd feature to patch the binary efi 2016-04-20 09:32:52 +08:00
GuidSection.py BaseTools: cache the defined Guid tool to improve the performance 2016-04-06 13:40:14 +08:00
OptionRom.py 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
OptRomFileStatement.py 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
OptRomInfStatement.py Sync BaseTools Branch (version r2362) to EDKII main trunk. 2011-10-11 02:49:48 +00:00
Region.py BaseTools: Fix one bug in FD region for multiple workspace support 2015-12-17 09:38:43 +00:00
Rule.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
RuleComplexFile.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
RuleSimpleFile.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
Section.py BaseTools: Fix the missing depex file in GenFds 2015-08-26 06:33:31 +00:00
UiSection.py BaseTools: Clean some coding style issues 2015-12-01 04:22:16 +00:00
VerSection.py BaseTools: Clean some coding style issues 2015-12-01 04:22:16 +00:00
Vtf.py BaseTools: Clean some coding style issues 2015-12-01 04:22:16 +00:00