Python script for generating build files for platform and modules, which uses the...
authorjwang36 <jwang36@de2fecce-e211-0410-80a6-f3fac2684e05>
Mon, 22 Jan 2007 09:59:07 +0000 (09:59 +0000)
committerjwang36 <jwang36@de2fecce-e211-0410-80a6-f3fac2684e05>
Mon, 22 Jan 2007 09:59:07 +0000 (09:59 +0000)
commit5189521bcc9e08c0071a8610f1b71ebf4320bf46
tree37cacf62e564baebf687f6c1113d76bdf849c53b
parent0c5ebb383c40858694500193ffcf617f81b47b71
Python script for generating build files for platform and modules, which uses the enhanced XmlRoutines.py written by Bruce.

The functionalities include:
- parse all packages(.spd) and modules(.msa)
- parse active platform(.fpd). You must set active platform in target.txt otherwise nothing will be parsed.
- parse tools_def.txt and target.txt
- generate Ant build files for active platform and its modules. The generated build file is re-designed and can be called separately once generated.
- multi-thread build

The functionalities which haven't been implemented include:
- AutoGen. No AutoGen.h and AutoGen.c will be generated. If you want run the build file, you have to run the "build" command in advance to generate the AutoGen.h/.c files and remove the any other intermediate files.
- generate FFS and FV files. Only compiling will be done by the generated build file.

Usage:
- type "python ${WORKSPACE}/Tools/Python/buildgen/BuildFile.py" in shell to generate build file
- goto "${WORKSPACE}/Build/${platform}/${target}_${toolchaintag}/", type "ant" to run the build file

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2278 de2fecce-e211-0410-80a6-f3fac2684e05
edk2/Tools/Python/buildgen/AntTasks.py [new file with mode: 0644]
edk2/Tools/Python/buildgen/BuildConfig.py [new file with mode: 0644]
edk2/Tools/Python/buildgen/BuildFile.py [new file with mode: 0644]
edk2/Tools/Python/buildgen/FrameworkElement.py [new file with mode: 0644]
edk2/Tools/Python/buildgen/SurfaceAreaElement.py [new file with mode: 0644]
edk2/Tools/Python/buildgen/XmlRoutines.py [new file with mode: 0644]
edk2/Tools/Python/buildgen/module_build_path.txt [new file with mode: 0644]
edk2/Tools/Python/buildgen/platform_build_path.txt [new file with mode: 0644]