Commit Graph

148 Commits

Author SHA1 Message Date
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
klu2 20c5c53fd7 Change return value of getGuidInfo from globaldata. Now only guid string is returned.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1195 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-06 08:18:32 +00:00
klu2 e55d8a3c6b In preprocess for getting platform PCD information, if meet error, put error into stack but not stop immediately, all errors will be summaried after preprocess working.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1194 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-06 07:26:05 +00:00
qouyang 8d86099955 Remove debug log.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1191 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-05 13:11:12 +00:00
qouyang 2336382f4c Fix EDKT148.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1190 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-05 11:14:33 +00:00
klu2 8b7bd4559c 1, Make exception string friendly, readable.
2, Add new PlatformPcdPreprocessBuildException and PlatformPcdPreprocessException for catching PlatformPcdPreprocessAction.
3, Clean up some code for pcd's action package.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1189 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-04 18:22:21 +00:00
wuyizhong 01413f0ccb Remove some unused code and adjust some code format. Modules build with FPD sequence. Delete three unused Java files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1179 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03 02:55:45 +00:00
klu2 af98370ea4 Abstract the logic of Platform pcd preprocess according to FPD file to a class. And add a new class for building process extend this abstract class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1169 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 14:51:46 +00:00
klu2 241876c7a3 Add new PcdDatabase.java file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1166 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 06:56:43 +00:00
klu2 4886a7b4c0 It is bad to put PcdDatabase.java into CollectPCDAction.java class. So I move it out.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1165 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 06:50:47 +00:00
klu2 d14ebb4374 Because Pcd entity, exception and some action package are shared by Building tools and Wizard Tools, so I move them to Tools/Source folder and generated PcdTools.jar,
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1160 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-31 18:55:26 +00:00
klu2 9efa2da011 Fixed track EDKT153, change PCDAutogen code to generate static variable referent for _PCD_VALUE_... for byte array type PCD in FIXED_AT_BUILD case.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1153 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-30 14:48:14 +00:00
klu2 eece174ad0 1, Fix EDKT141
2, Code clean up for PCD building tools.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1150 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-29 14:29:59 +00:00
klu2 a1eb640176 There is a rule here:
If a module link a library instance, all pcds defined by library instance should be instanted in module's <ModuleSA> in FPD file.

I add more checking code follows above rules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1141 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 16:44:52 +00:00
wuyizhong 53d853a683 Remove additional / or \ in relative path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1134 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 05:22:00 +00:00
wuyizhong 9cf435c223 Fix T105. It is caused by cpptasks which change automati cally root directory like C: to C:\C. If we pass C:\ to cpptasks, it's okay now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1130 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 01:39:10 +00:00
jwang36 342810920f Fixed EDKT147, which will fail the single module build when a module is just defined for one ARCH in a platform which supports two ARCHs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1118 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 09:25:41 +00:00
qouyang 1dbcbb6158 Fixed EDKT145
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1112 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 03:44:58 +00:00
jwang36 991d660b95 Changed the way to save generated module build.xml to avoid incorrect file name generated on Linux
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1091 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 08:13:58 +00:00
qouyang 893cea1463 Keep the original order of MSA's "dependence library class" which will reflect to include header file in Autogen.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1083 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 09:30:22 +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
klu2 6ab88a7c86 Fix track EDKT97: Use {0} as NULL value for VOID* type PCD but not {}
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1077 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-23 17:26:27 +00:00
qouyang 31a9215c32 Add check when copy flashMap.h to ${ModuleOutputDir}/Debug/TianoR8FlashMap.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1065 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 08:26:32 +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
qouyang 58c5839f2c Modify Autogen.jave to fixed bug: EDKT113.
Modify the COmmonDefinition .java to keep the order of EntryPoint function in autogen.c same with the <ModuleEntryPoint> in MSA.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1047 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-19 10:18:17 +00:00
wuyizhong e64c74dd8c Add checking for whether module's FfsFormatKey is specified or not. For driver, fail build if can't find FfsFormatKey in FPD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1041 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-19 05:44:44 +00:00