41df77e688
Fixed EDKT318
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1612 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-25 15:18:01 +00:00
4353d8e173
Fixed EDKT318
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1611 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-25 14:29:57 +00:00
1a0d7262b4
Degrade echo "Ignoring File..." message from WARNING to INFO. Add process status indicator during parallel build.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1609 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-25 09:22:01 +00:00
bb511931b1
Support "Defining Module Sequence in FV.inf". Since modules sequences in Fv.inf can be customized explicitly in FPD.BuildOptions.UserExtensions[UserID='IMAGES' Identifier='1'] with WIZARD tool, now build tool will check it and use it if exists.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1605 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-25 08:17:50 +00:00
d8f1335e23
Fix EDKT272.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1589 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21 08:01:14 +00:00
4b13484788
1) Add FileTimeStamp class to centralize the cache mechanism for file time stamp check, and changed related classes
...
2) Fixed the FlashMapTask dependency issue
3) Fixed empty target issue in OnDenpendency class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1584 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21 05:11:58 +00:00
34f40a4aca
Fixed an issue which will cause dependency check failure
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1558 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 07:04:08 +00:00
d946661a82
1) Added dependency check for flashmap, genfvimage, peirebase tasks
...
2) Added code in FpdParserTask.java to avoid re-generate FV.inf file
3) Added isEmpty() to ToolArg class to check if an argument is empty or not
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1556 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 05:55:19 +00:00
3e73f377a8
Fixed EDK258.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1549 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 09:56:40 +00:00
2f2c367ad8
Added synchronized to getCommandSetting to solve multi-thread build issue
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1546 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-15 09:35:46 +00:00
1744b047bb
Added "synchronized" to getToolChainInfo() to solve synchronization issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1543 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-15 06:18:55 +00:00
0fdb42ac46
1) Applied ToolArg and FileArg class to represent tool arguments
...
2) Unified the tool output message and exception handling
3) Cleaned the coding style
4) Removed used code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1535 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 08:35:38 +00:00
2a9060e294
For stand-alone build, generate Platform_build.xml and call prebuild firstly.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1532 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 02:39:02 +00:00
5c4eec41d7
(Customized Compression)If setting the EncapsulationType="Compress", Tool will transfer it to sectiontype="EFI_SECTION_COMPRESS" in <gensection>element of <genffsFile> task.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1529 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 09:20:36 +00:00
d965d1f63f
Update log.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1528 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 07:40:49 +00:00
d8956f143e
Add warning message for single module build if multi-thread enabled.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1527 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 07:14:54 +00:00
d3945b9d4c
Auto close multi-thread flag when stand-alone module build. Also change some logs.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1526 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 07:02:50 +00:00
89e1408fde
To locate module precisely in stand-alone module build. Except Module Guid, add MSA file path to consider.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1521 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 03:25:23 +00:00
93f5dd0a0e
1) Changed ToolArg class to abstract generic arguments of a tool
...
2) Added FileArg class to abstract arguments which represent the path of a file
3) Changed the log method to EdkLog and the message format for flashmap, fwimage, gendepex, genfvimage, gensection, peirebase, strgather and vfrcompile tool. And changed these tools to use ToolArg and FileArg to keep their arguments.
4) Added more verbose message for OnDependency task
5) Changed MakeDeps tool to insert a file end flag. This is very useful when dependency check is broken occasionally
6) Cleaned the coding style of java code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1519 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 02:15:32 +00:00
498e9021f5
Update LOG process.
...
1. Sort all log messages by module. Logs at the bottom of build.log is all logs already print to cmd
2. Once one module occurs error, print all logs belongs to this module’s
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1516 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-12 07:16:25 +00:00
3067c4b0c0
Remove TianoToolsException.java. Add code to stop all threads once one corrupts.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1507 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 06:29:26 +00:00
a1ffb10f21
Support calling customized compression tool in FrameworkTask.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1506 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-10 12:51:19 +00:00
2eb7d78dcd
Adding new Logger instead of Ant's.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1502 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-08 09:22:36 +00:00
61528a1be3
Unify the logger and exception in AutoGen.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1493 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 08:02:44 +00:00
02c768ee72
Move ${PLATFORM}_build.xml from PLATFORM_DIR to BULID_DIR. Now, all output files will be only under BUILD_DIR. To change BUILD_DIR in FPD.PlatformDefinitions.OutputDirectory, both abstract and relative path is allowed. For relative path is relative to WORKSPACE_DIR. Default BUILD_DIR is PLATFORM_DIR/BUILD.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1489 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 02:39:37 +00:00
892b0e7a05
Update GlobalData, SPD, SurfaceAreaQuery to using EdkException.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1485 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 09:37:36 +00:00
2619585ad0
Change GenBuildLogger format.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1476 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 06:38:26 +00:00
2279b26c4d
Changed EdkException to GenBuildException for consistency
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1475 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 06:07:25 +00:00
91f7d58229
Remove FrameworkLogger in FrameworkTasks and EdkException in GenBuild. Update EdkLog to accept one more parameter. Remove all System.out in GenBuild.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1474 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 05:58:31 +00:00
4250be6c84
Add one more platform level common property "TARGET_DIR". Take Nt32 for example: TARGET_DIR=${BUILD_DIR}/${TARGET}_${TAGNAME}
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1458 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 06:37:04 +00:00
c8df018e44
Add two definitions to ToolDefinitions. Enhance EdkLog and GenBuildLogger. GenBuildLogger contains two behaviors now, one is for normal; while another is for multi-thread. (4)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1450 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 05:47:21 +00:00
aca6c736f6
Backup original properties to avoid property overriding message. This change is for multi-thread build preparations. (3)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1438 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04 07:13:01 +00:00
abce9cbd99
Add thread control classes. (2)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1434 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04 04:50:59 +00:00
19bf6b15d0
Add thread control classes. (2)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1433 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04 03:49:31 +00:00
5acb4b67f2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1430 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 09:46:29 +00:00
83fba80256
Remove static from SurfaceAreaQuery.java for preparing parallel build.(1)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1428 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 09:28:15 +00:00
0719317158
Remove stand-alone module judge when parse FPD file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1415 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-31 08:38:25 +00:00
6ae1510e52
Change output dir layout from Target/TagName/Arch to Target_TagName/Arch.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1406 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30 03:57:57 +00:00
96c9ae4507
Add comments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1405 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30 03:53:23 +00:00
3790e93c7e
Add Arch Check for single module build. To Fix T167 & T224.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1404 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30 03:11:48 +00:00
c60019f637
Modify the Autogen.java for <SetVirtualAddressMapCallBack> and
...
<ExitBootServicesCallBack> only working on module type as DXE_DRIVER, DXE_RUNTIME_DRIVER,DXE_SAL_DRIVER,UEFI_DRIVER, UEFI_APPLICATION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1401 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-29 07:36:14 +00:00
80eb97ffc0
Fix EDKT212.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1385 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-25 03:01:17 +00:00
cb4d97bd83
Modify code according suggestion from code review meeting.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1379 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-24 09:24:29 +00:00
bf3a7173e3
Introduce a new property INCLUDE_PATHS. This property can used by customized build file. For example <includepath path="${INCLUDE_PATHS}"/>. INCLUDE_PATHS contains all required include paths based on MSA file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1347 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-22 05:54:55 +00:00
d73557df24
This patch make sure that Pcd Dynamic database generation tool is able to handle the VariableName of type HexWordArrayType in DynamicPcdBuildDefinitions section in FPD file. The HexWorldArrayType (UINT16 in C concept) is printed directly into the dynamic PCD database.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1329 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-21 05:53:51 +00:00
1fa1cb752a
- Fixed EDKT146; The override warning message has been reduced to almost none.
...
- Changed MakeDeps tool to generate .dep file which can be used directly by ANT task wrapper
- Made several code optimizations and format clean
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1324 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-18 10:25:20 +00:00
e485bb4bff
Report error messages more precise.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1323 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-18 09:39:01 +00:00
caa44816dd
Fix cleanall can't clean all genereated files. Now .i files generated by VfrCompile move to module out put dir and Platform_build.xml will be removed in cleanall. Also adjust some code format.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1321 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-18 08:06:02 +00:00
4b5f554990
Change module build sequence. 1. Get FvImageName list according to their declaration order in the fpd file. 2. First build all modules in the first fvimage, then build all modules in the second fvimage, and so on. These modules sequence is still from their layout in the fpd file. 3. At last, build the remaining modules whose FVBinding = NULL. And also clean some unused code, and add and update some comments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1320 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-18 05:37:49 +00:00
471e8e4c3d
Added to fix the issue of many property override warning when build with -v option; and also improve the build performance.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1318 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-18 00:54:57 +00:00