Commit Graph

61 Commits

Author SHA1 Message Date
qouyang eeaddae296 Removed some output information for debug purpose.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1613 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-25 15:41:29 +00:00
qouyang c493be6c9d Modify GenFfsFileTask.
If GenFfsFileTask is failed, the *.ffs file will not be create.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1598 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-22 08:16:10 +00:00
jwang36 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
qouyang 34a0c84476 Delete the midterm temporary file which created by GenFFSFile task.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1576 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-20 06:21:04 +00:00
bxing 76c86b3ac4 Remove dependence check of FD upon FlashMap.fdf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1575 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-20 02:57:55 +00:00
jwang36 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
jwang36 e0ab6c7b60 fixed a typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1536 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 08:36:26 +00:00
jwang36 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
qouyang 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
jwang36 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
wuyizhong 7dd2b2ad65 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1509 6f19259b-4bc3-4df7-8a09-765794883524 2006-09-11 07:39:08 +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
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 e5a487d784 Miss one import.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1457 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 06:33:27 +00:00
wuyizhong b5240dbdee Update for the interface has changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1455 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 06:25:20 +00:00
jwang36 82810f3b0f Fixed the issue caused by introducing INCLUDE_PATH property;
Re-designed NestElement class and all classes which implemented its interface because they have many common code; and changed all classes which use those re-designed classes.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1380 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-24 13:40:42 +00:00
qouyang 23c2f30c5e Modify ModifyInf task's attributes from "inputfvinffilename" to "inputfvinffile", from "outputfvinffilename" to "outputfvinffile".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1345 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-22 03:34:39 +00:00
jwang36 1f08e795f8 Added file existing condition to judge if the dep file should be re-generated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1332 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-21 07:13:10 +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 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
qouyang c59963f51b Fix EDKT 188.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1291 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 06:22:43 +00:00
qouyang 87379bbecf Modify GenFfsTask to make it don't create ORG file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1271 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 08:05:34 +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 3f7b510edb Fixed grammar in messages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1255 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 17:19:24 +00:00
jwang36 f496b9b5ce Tried to fix EDKT149. Since the issue happened randomly, only long time test can make sure it's really fixed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1243 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 01:53:55 +00:00
jwang36 1c47256758 Added stringToInt method to handle hex integer for FFS_ATTRIB_DATA_ALIGNMENT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1229 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10 06:02:12 +00:00
jwang36 caf9538f28 Changed the alignment related member and method to conform to FFS spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1220 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 02:25:52 +00:00
jwang36 8cf7c268db Fixed the FfsAlignment issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1210 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-08 03:40:13 +00:00
ajfish d7506e116a Updated PeiRebase to produce a map file of the relocations done by this tool. This code passes in the map file name as the same name as the FV with a .map appended to the end.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1193 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-05 17:32:38 +00:00
jwang36 52cbbdbc16 Fixed EDKT118
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1079 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 08:02:37 +00:00
jwang36 57cc2ee710 a) Fixed the issue that the unnecessary build for not specified ARCH in single module build
b) Fixed the issue that mixed case of FV name will cause invalid inf file generation
c) Fixed the issue that not specified outputDir will cause tool (flashmap, efirom) cannot be launched 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1056 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-20 10:40:46 +00:00
lhauch 20fa842edb Fixed MSA files so that they have unique names and removed extra copyright and license information in the comment - these are in the header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@990 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 13:15:21 +00:00
jwang36 5e1c3eedcd Added license & copyright declaration
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@967 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 08:24:50 +00:00
jwang36 4f94d98ce9 Removed the output line code to reduce confusion.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@921 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 14:36:32 +00:00
jwang36 a7e63efe72 Syncronized the file list in each msa and spd files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@918 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 13:47:48 +00:00
jwang36 219e224747 Polished the build tools' screen output to be in a more coherent form
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@916 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 12:39:18 +00:00
jwang36 52352e5842 fixed the same guid issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@913 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 12:28:17 +00:00
jwang36 196ad8d77c Fixed EDKT102;
Fixed some dependency check issue and made several optimizations on the dependency check logic. Now the rebuild is speeded up enormously.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@885 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 02:41:10 +00:00
lhauch a782876908 Update the binary MSA to say they were binary, fixed an abstract, changed a module UiName, changed tool default values in the build.xml files to give the name of the tool, rather than all, so when building the tools, you can tell what tool it is trying to build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@848 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 14:14:00 +00:00
lhauch 617cc72bf4 Added a line to remove the Jar file in the cleanall target.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@830 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 05:05:33 +00:00
qouyang 01026c709f Modify ModifyInfTask which in frameworkTask.
Remove the "[]" which add around "patternstr" attribute by modifyInfTask. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@815 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 05:58:08 +00:00
qouyang 47f2f01190 Add ModifyInftask in FrameworkTask.
Fixe bug(EkdT72).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@768 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 11:50:44 +00:00
lhauch 915d1ff529 Updated the SPD and MSA files for Tools - created some new MSA files as well.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@731 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 04:13:48 +00:00
qouyang a15bb0d31f Add follows warpped tianotools to frameworktask:
1. CreateMtFileTask
2. EfiCompressTask
3. EfiRomTask
4. FlashMapTask
5. GenAcpiTableTask
6. GenCapsuleHdrTask
7. GenTeImageTask
8. PeiReBaseTask
9. SectApResetVectorFixupTask
10.SecFixupTask
11.SplitfileTask
12.StripTask
13.ZeroDebugDataTask

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@720 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-03 08:25:23 +00:00
wuyizhong 275d78c5f6 Using ModuleType to determine FFS file extension.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@685 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 18:02:35 +00:00
lgao4 c965d3aff4 Fix GenFfsFileTask.java bugs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@542 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 14:31:27 +00:00
jwang36 59a372594c removed throwing BuildException when exit code is not zero
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@526 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 10:28:45 +00:00
jwang36 a236f1a127 rollback to rev.273, merged new updates as well
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@523 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 09:42:34 +00:00
bbahnsen fad77353ed Fixes for case sensitive operating systems.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@502 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13 20:36:27 +00:00