]> git.proxmox.com Git - mirror_edk2.git/commit - Tools/Python/buildgen/BuildFile.py
Python script for generating build files for platform and modules, which uses the...
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 22 Jan 2007 09:59:07 +0000 (09:59 +0000)
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 22 Jan 2007 09:59:07 +0000 (09:59 +0000)
commit2897231803d9d506f7cb7c68eeb59dcc4805084d
treeb0037ca2ff28fcb45f143987bb1168e937f0b237
parent41ac48e930170db72a0c764b7b81c7a81c1f4ba7
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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2278 6f19259b-4bc3-4df7-8a09-765794883524
Tools/Python/buildgen/AntTasks.py [new file with mode: 0644]
Tools/Python/buildgen/BuildConfig.py [new file with mode: 0644]
Tools/Python/buildgen/BuildFile.py [new file with mode: 0644]
Tools/Python/buildgen/FrameworkElement.py [new file with mode: 0644]
Tools/Python/buildgen/SurfaceAreaElement.py [new file with mode: 0644]
Tools/Python/buildgen/XmlRoutines.py [new file with mode: 0644]
Tools/Python/buildgen/module_build_path.txt [new file with mode: 0644]
Tools/Python/buildgen/platform_build_path.txt [new file with mode: 0644]