Commit Graph

34 Commits

Author SHA1 Message Date
bbahnsen f0a3fde160 Changing XmlAppendChildElement to return the new XML node on success.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2289 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 21:36:21 +00:00
bbahnsen 24a86f9acc Add dependency checking to the Far install.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2279 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-22 19:41:08 +00:00
jwang36 2897231803 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
2007-01-22 09:59:07 +00:00
bbahnsen 4040421aee Add a program to install fars.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2276 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-20 00:41:32 +00:00
bbahnsen 26e72077b9 Get the Include/ tree also.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2258 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17 00:16:32 +00:00
bbahnsen 5b8acefd92 Give better error messages for non-existent files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2257 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17 00:02:57 +00:00
bbahnsen b12dbde369 Fix a typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2218 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-11 07:11:34 +00:00
bbahnsen b23e12fab8 Print a descriptive error message if the msa file is ambiguous.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2214 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-11 00:14:05 +00:00
bbahnsen 07253e8e47 Add multi-architecture support to the GNU makefile generator.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2212 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 22:36:15 +00:00
bbahnsen 0026dbe0ac Add a python script that can generate gnu makefiles for the mde package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2204 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 02:23:35 +00:00
bbahnsen 3b7a53b683 Add license header to Python files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2177 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-05 21:08:32 +00:00
klu2 fc7599b9aa Correct the sample instruction.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2176 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-05 02:18:11 +00:00
bbahnsen 835cdfb738 Allow resume of the download.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2174 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 22:38:43 +00:00
bbahnsen 281ab33133 Add wxPython to the installer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2173 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 22:01:52 +00:00
bbahnsen 4d0cf38afc Set the executable property on the script.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2172 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 21:55:35 +00:00
bbahnsen 652969073e Set the executable property on the script.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2171 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 17:45:00 +00:00
mdkinney 8d4243f1bd 1) Update XmlRoutines.py to strip all whitespace
2) Add function to read section of an XML file
3) Add class to handle workspace relative paths
4) Add utility to manage target.txt
5) Add utility to manage FrameworkDatabase.db



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2164 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-04 01:07:52 +00:00
bbahnsen 3134cc7386 Add the doxygen config file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2134 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-23 20:20:39 +00:00
bbahnsen af2efcafd4 Added some new field to the far template.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2126 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-22 00:25:11 +00:00
bbahnsen fb96878ec4 Added a template mechanism to act as the user interface in far creation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2124 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-21 01:32:37 +00:00
bbahnsen 10d6603f3b Add md5sums to the manifest.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2118 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-19 08:02:13 +00:00
bbahnsen 3ff56e5e44 Populate the zip file while building the manifest.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2107 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-16 20:51:59 +00:00
bbahnsen d0f7ef3eb2 Add better command line parameter handling.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2106 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-16 19:15:09 +00:00
bbahnsen d32aaa956e Corrections to the far manifest.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2105 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-16 08:28:47 +00:00
bbahnsen 69932b41f0 Start to build the manifest.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2104 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-16 07:50:00 +00:00
bbahnsen e853a9d483 Add a far maker
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2103 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-16 06:39:33 +00:00
bbahnsen 4cb7d1e02b Delete
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2053 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 22:54:42 +00:00
bbahnsen d4e3c434b8 Remove
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2052 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 22:36:52 +00:00
bbahnsen 09d4d22408 Change Name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2051 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 22:35:01 +00:00
bbahnsen 40fdc5c43a Change name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2050 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 22:11:22 +00:00
bbahnsen 77afa5eb93 Factor out the XML API so other scripts can use it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2049 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-05 21:57:04 +00:00
bbahnsen 45a6b8074a A script that helps you install python on OS X.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2000 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 21:07:40 +00:00
bbahnsen 64683effc6 Set the exe bit and point to the right interpreter on Unix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1999 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 19:56:46 +00:00
bbahnsen 1a137e9826 Adding a python script dir and a script to calculate what dependencies a module has on library classes and guids.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1995 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:58:38 +00:00