Commit Graph

173 Commits

Author SHA1 Message Date
wuyizhong 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
wuyizhong 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
qouyang 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
wuyizhong 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
qouyang 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
wuyizhong 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
wuyizhong 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
wuyizhong 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
jwang36 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
wuyizhong 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
wuyizhong 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
wuyizhong 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
wuyizhong 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
wuyizhong 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
wuyizhong 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
wuyizhong 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
wuyizhong 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
wuyizhong 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
wuyizhong 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
qouyang 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
wuyizhong 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
qouyang 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
wuyizhong 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
qouyang 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
wuyizhong 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
qwang12 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
jwang36 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
wuyizhong 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
wuyizhong 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
wuyizhong 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
jwang36 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
klu2 ca844f3623 Continue to fix EDKT187.
After discussion with ouyang, qian and shi, carl, we find it is no necessary to add PcdLib according to whether library instance use PcdLib.
In this patch. I remove original fixing and correct some MSA file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1315 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 16:23:46 +00:00
wuyizhong 2d16dcec6f Add class header to FrameworkBuildTask. Remove some unused code from top level build.xml.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1306 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 06:51:51 +00:00
wuyizhong 4a6a5026fc Using Common Definitions. Remove some unused codes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1304 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 05:29:15 +00:00
klu2 bd4814401e Fix the track EDKT187: If a module do not use PCD, PcdLib library class need not be exist in its MSA file.
The fixing is judge whether the module's library instance use PCD, if use, build tools will add PcdLib into module's autogen.h automatically.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1297 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 13:59:00 +00:00
qwang12 2c0e2bcf49 Embeded autogenerated code in Java code instead of getting them from a real file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1294 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 10:51:01 +00:00
jwang36 d2059d0594 Added comments and polished the code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1293 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 10:35:00 +00:00
klu2 11eb278ae5 Refine the code for PCD tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1282 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 18:33:53 +00:00
klu2 5f907e4a5b Fix the bug that using hardcode driver name to judge whether current driver is PCD driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1281 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 17:11:06 +00:00
wuyizhong 8251688793 Adjust some code format and clear some unused codes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1273 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 08:36:45 +00:00
yshi8 ff225cbbae moved exception and logger classes to org.tianocore.common package
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1269 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 06:27:57 +00:00
lhauch 391dbbb1c0 Fixed grammar in messages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1256 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 18:41:39 +00:00
wuyizhong 88f858a135 Using ${OBJECTS} instead of fileset to trace all obj files. Add a new Macro named Build_Init to provide a way to initial some properties for user.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1252 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 07:00:48 +00:00
wuyizhong 67e7b756c8 Do Not cleanall librarys with a module build clean or build cleanall.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1246 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 03:47:59 +00:00
qouyang a2733a33ab Fix EDKT186.
Fix EDKT148.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1230 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10 06:09:10 +00:00
jwang36 19d66cd590 Fixed EDKT163. Added code to assign "arch" to null when no "SupArchList" is specified and made several format clean.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1222 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 04:56:49 +00:00
wuyizhong 8a9783c1f3 Enhance FfsLayout parsing. When specify a file for a section, then just use the file as section file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1219 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 02:18:20 +00:00
klu2 b629771180 Fix some bugs and remove unused code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1201 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 08:21:32 +00:00
klu2 a04ab2ba89 Fix the bug for not add error reporting in getAllDynamicPcdInfoFromFpd(), it block building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1198 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 06:41:27 +00:00
klu2 4d1939b86f Shutdown the PCD's datum verification when building, it can save 2 minutes for full building by using JDK 1.5.06.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1196 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 03:09:29 +00:00