Commit Graph

1222 Commits

Author SHA1 Message Date
jwang36 ad368bfe44 Fixed EDKT527 by adding a check on the file size in case of zero byte of byte
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2420 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-06 03:28:01 +00:00
zliu3 78702d79b1 Enable the building option "/Os" for IPF tip Intel Compiler building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2396 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 14:13:10 +00:00
xli24 2afce6dff7 Add /W4 /WX for ICC tool chain of IPF in tools_def.template.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2394 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 07:22:02 +00:00
jlin16 c0db4cdc64 add check for empty value of definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2391 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 03:08:45 +00:00
jwang36 7407b98bbe Removed the extra source file from preprocessor's command line options for building vfr files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2359 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-09 02:49:55 +00:00
jwang36 9821fa9a8f Changed the way of handling not supported ARCH for a module. It should not break the build. Instead, it just give a warning message.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2356 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-07 07:12:59 +00:00
jwang36 de093b3c14 (Fixed EDKT523) Added more check on "archString" to see if it's empty or not.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2355 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-07 05:34:51 +00:00
jwang36 73f7b9c29c Add genDigest() method to class FfsProcess to generate MD5 digest value for the FFS layout. This is intended to solve re-generation issue of FFS when its layout has been changed but no related section files have been changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2353 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-05 06:25:58 +00:00
jwang36 2f96bdd1b9 Output more descriptive information when there's no TARGET, TARGET_ARCH, etc defined in target.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2351 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-05 02:02:15 +00:00
jlin16 e64872fa8b 1. Refresh applicable library instances after one illegal library instance is removed.
2.Remove library instances that is only consumed by one library instance when deleting this library instance from a module in platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2350 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 10:11:03 +00:00
jlin16 fd0f684ffa Optimize library instance selection algorithm.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2342 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 11:43:58 +00:00
hche10x 9e011eacdb 1. Fix EDKT508: FW should't build Log.log file in current directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2341 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 08:20:54 +00:00
hche10x e2249194ac 1. Fix EDKT215: [Wizard] "Previous" button is not supported in step 4 of Create FAR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2333 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-30 01:31:32 +00:00
jwang36 2c9b03f219 - Move global declarations from AutoGen.c to AutoGen.h
- Stop building AutoGen.c for binary module

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2331 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-29 04:41:58 +00:00
jlin16 b8f186eb78 Fix EDKT174, auto-select library instance if only one candidate available for a library class. Note that if you remove one single instance, it will NOT be auto-selected back at once.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2329 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 16:40:37 +00:00
jwang36 b4667b1105 Remove a temporary test line of code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2327 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 07:09:53 +00:00
jwang36 d59f2c721b - Remove the TOOL without NAME defined and its definition in ARCH_build.opt
- Prefix the tool path to its name in ARCH_build.opt
- Support the same library class in different package


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2325 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 06:28:27 +00:00
jwang36 149127db68 Move the entrypoint function declarations to AutoGen.h for sake of Intel compiler
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2324 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 06:04:40 +00:00
lgao4 60ad347998 When GenFvMap tool doesn't open one module map file, it will skip this module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2323 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 05:56:49 +00:00
hche10x b79fc8357f 1. Add "Splash Screen" back
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2322 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 05:56:09 +00:00
jwang36 01bf334d2c Added -e and -emacs to support no leading task name in each line of log on screen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2320 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 03:29:23 +00:00
qwang12 febc643362 Remove USER_DEFINED in IncludePkgHeader in spd files as it does not make sense to specify package include header file for a custom build type module. Package creator has no a priori knowledge about what header file will be needed by the USER_DEFINED module customers created in dependent package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2316 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 10:25:16 +00:00
jwang36 ba3a1cb5bb Enhanced the <Build_Library> macro to check OBJECTS property in case it's empty
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2311 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 06:05:31 +00:00
jwang36 2082f93671 - Merged the local copy of XmlRoutines.py in buildgen into upper directory's XmlRoutines.py
- Removed the local copy of XmlRoutines.py in buildgen/AntTasks.pyc
- Used the XmlNode to replace XmlElement in SurfaceAreaElement.py


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2310 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 05:03:12 +00:00
jlin16 253fca1de3 Change parameter id in UserExtension element from Integer to String according to EDKT510 schema change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2309 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 03:23:39 +00:00
jwang36 ceea362ed6 Fixed the Indentifier type issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2306 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 01:38:32 +00:00
jwang36 e3cc406130 - Fixed EDKT240. Now the Blank.pad file for alignment purpose will no longer be needed.
- Fixed EDKT366. For NT32, using "build run" to launch the NT32 emulator. The run.cmd is still be generated in the ${TARGET_DIR}

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2305 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 01:25:02 +00:00
bbahnsen 822d4f3a53 Adding a couple of features for far processing, including detecting duplicate files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2304 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 01:18:46 +00:00
lhauch e2cce12fd6 Added optional whitespace characters in before and/or after the content within <element> tags
Added Alignment optional attribute to the <Section> tag
Changed the UserExtension Identifier from int to string


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2303 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 01:03:02 +00:00
bbahnsen 312ffece7b Adding several dependency checks for far installation. Redoing the XML output.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2299 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 18:14:09 +00:00
jlin16 25232e9cb3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2297 6f19259b-4bc3-4df7-8a09-765794883524 2007-01-24 09:59:00 +00:00
jwang36 16046b7615 Fixed EDKT487. Added a <import> task to import UserExtension.xml if it exists for users to incorporate their own tasks or macro in the build process.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2296 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 09:46:23 +00:00
jwang36 66a9a6f8e9 - Fixed EDKT513 by adding existing section files into the dependency check of genffsfile tool;
- Fixed EDKT514 by removing the generation and build of AutoGen.c for library


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2295 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 09:05:56 +00:00
hche10x ff7bc6c425 1. Finish Enhancement EDKT345: Support deleting multiple rows together when remove source files in MSA
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2294 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 08:20:08 +00:00
jlin16 c045922799 Modify error message contents when an improper library instance was selected for a module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2292 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 07:51:16 +00:00
jwang36 98840b1049 Changed the way of determining how to call customized build file. Now we check if there's XXX_build.xml existing in the source file list to determine the customized build other than the USER_DEFINED module type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2291 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 06:37:21 +00:00
jwang36 2b955487b6 Removed the BASE type as any type in the check of SupModuleList in getLibraryClasses()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2290 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 05:00:21 +00:00
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
jlin16 0202572b06 Modify support module type filter for library instance selection.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2286 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 10:00:41 +00:00
jwang36 9d3d149f81 Fixed the fake circular denpendency of library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2285 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 09:48:03 +00:00
jwang36 700279a971 Fixed EDKT493. Added support to "SupModuleList" for checking if a library instance is supporting current module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2282 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 08:51:06 +00:00
qwang12 2b34c3fe63 Corrected a small bugs:
The macro name generated in autogen should match that in the Service.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2281 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 08:28:43 +00:00
jwang36 aacce76100 Moved the function prototype of SetVirtualAddress and ExitBootService to AutoGen.h for the sake of Intel Compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2280 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 05:14:48 +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
jwang36 41ac48e930 Added tasks to create DEBUG and OUTPUT directory in case they haven't been created
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2277 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-22 09:18:15 +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
jwang36 e1b95c15ab Fixed an issue which the .dep file for the AutoGen.h won't be generated if PCH is not defined.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2272 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-19 07:41:47 +00:00
jwang36 f9081b646d 1) Added prototype of constructor and destructor in the library's AutoGen.h. This is necessary for Intel Compiler.
2) Corrected the prototype destructor of EdkUefiRuntimeLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2271 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-19 06:25:21 +00:00
jwang36 8fc81f2a88 Corrected the regular expression because it will skip many includes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2270 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-19 03:43:03 +00:00