audk/BaseTools/Source/Python/AutoGen
Yingke Liu fe4bf2f923 BaseTools: Implement BUILDRULEORDER for tools_def
This feature allows the toolchain to choose a preference for source file
extensions in tools_def.txt. The first extension is given the highest priority.

Here is an example usage for tools_def.txt:
*_*_*_*_BUILDRULEORDER         = nasm Nasm NASM asm Asm ASM S s
*_XCODE5_*_*_BUILDRULEORDER    = S s nasm Nasm NASM

Now, if a .inf lists these sources: 1.nasm, 1.asm and 1.S
All toolchains, except XCODE5 will use the 1.nasm file. The XCODE5
toolchain will use the 1.S file.

Note that the build_rule.txt file also impacts the decision, because,
for instance there is no build rule for .asm files on GCC toolchains.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yingke Liu <yingke.d.liu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17509 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-26 10:32:07 +00:00
..
AutoGen.py BaseTools: Implement BUILDRULEORDER for tools_def 2015-05-26 10:32:07 +00:00
BuildEngine.py BaseTools: Implement BUILDRULEORDER for tools_def 2015-05-26 10:32:07 +00:00
GenC.py BaseTools/Build: Add SDL support 2015-04-10 06:59:47 +00:00
GenDepex.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
GenMake.py BaseTools: Modify gcc 4.8 and 4.9 tool chain definition to support building from Windows. 2014-11-18 02:38:20 +00:00
GenPcdDb.py BaseTools/Build: The PCD value in uninitialized data range should be natural aligned. 2015-05-12 00:58:20 +00:00
InfSectionParser.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00
StrGather.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00
UniClassObject.py Fix a regression bug to uni parser. 2014-12-03 08:30:56 +00:00
ValidCheckingInfoObject.py BaseTools/Build: Add SDL support 2015-04-10 06:59:47 +00:00
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00