Commit Graph

124 Commits

Author SHA1 Message Date
jwang36 e2336e3968 a. Added binary file support during AutoGen
b. Removed "extern int __make_me_compile_correctly;" from AutoGen.h
c. Added BUILD_RULE_CONF in target.txt to specify build rules file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4705 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-19 06:39:47 +00:00
jwang36 65803b123f Improved the file creation speed during incremental build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4696 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-15 07:49:17 +00:00
jlin16 7113867d54 using R8 component type when choosing rule for INF in FDF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4616 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-23 08:35:52 +00:00
jlin16 8997292fb8 Support R8 modules in GenFds.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4615 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-23 05:40:47 +00:00
jwang36 b7737ae527 a. Merged the recent improvement on R8 modules build
b. Fixed an issue which library instance without supported module type will be selected.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4605 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 03:08:25 +00:00
jwang36 0657905748 Fixed an issue which caused incorrect value of PCD from FDF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4499 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 08:01:45 +00:00
jlin16 900faff93e Add !include statement support in GenFds.exe which makes FDF file could include other file contents at any position in FDF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4497 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 04:57:34 +00:00
jlin16 b7bef2a9fb Add depex section generation feature for GenFds.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4478 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-03 03:37:54 +00:00
jwang36 2d60f29c21 Fixed a bug which caused the PCDs inherited from libraries cannot be overridden under [Components] in DSC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4459 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-02 03:24:17 +00:00
jwang36 b3354570af Added component type to module type mapping between "PE32_PEIM" and "PEIM" for R8 modules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4429 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-24 05:39:24 +00:00
jwang36 58ce61eb5d a. Enabled building R8 modules
b. Always inherit library's [depex] if there's no dxs file declared in module's inf file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4419 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-22 16:58:04 +00:00
jwang36 965e8d54d9 Re-generated per the bug fixes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4394 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-13 07:04:08 +00:00
jwang36 256a0cc3c2 Re-generated because of AutoGen changed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4375 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 03:05:09 +00:00
jwang36 bc8306fc55 Fixed bugs of
708 - Incorrect PCD type used if the PCD is not defined in DSC file
    715 - Incorrect library instance used for DAG algorithm
    717 - Incorrect function prototype used for calling 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4362 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 07:32:49 +00:00
jwang36 f20ffb9ad3 a. Revised error message for a module that is not required by a Platform when building just the module
b. Remove "/" or "\" following $(WORKSPACE) before getting real path when parsing DSC files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4304 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-19 08:24:41 +00:00
jlin16 79492e5f39 Strip the relocation section for SEC, PEIM and PEI CORE typed files, according to relocation strip flag in FDF file and shadow flag in INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4280 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-07 05:59:12 +00:00
jwang36 04e031d000 a. Changed MYTOOLS to use Visual Studio Team Suite for IA32 and X64. IPF is still use WINDKK.
b. Re-generated build.exe and GenFds.exe to incorporate new changes of build tools
c. Enable multi-thread build mode by default


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4246 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 09:07:31 +00:00
jwang36 07fdb39deb a) Added support of breaking build when no library instance is found for a library class.
b) Added support of use PCD value from DEC/INF file if it's not defined in DSC file but defined in an INF file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4189 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22 06:53:10 +00:00
jlin16 c35a9c1d25 passing -v and -d options to c tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4184 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19 11:07:42 +00:00
jljusten 07a756b95e Restoring $WORKSPACE/BaseTools location, as the plan is to deprecate
$WORKSPACE/Tools instead.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4147 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-17 01:54:36 +00:00
jljusten 8b2d58875a Moved $WORKSPACE/BaseTools to $WORKSPACE/Tools/BaseTools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4142 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 20:56:54 +00:00
jlin16 92d1603827 change location of FvAddress.inf to FV\Ffs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4133 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 13:47:21 +00:00
jwang36 b7509087b0 a) Supported MAKE command in tools_def.txt
b) Cleaned several message strings in code
c) Solved hang issue when the build.exe is broken by Ctrl+C
d) Added more specific information for "-v" option of build.exe
e) Added "-v"/"-d"/"-q" option for GenFds.exe in makefile if build.exe is called with one of them.
f) Removed the calling to vsvars32.bat and added "--nt32" option in edksetup.bat because the nmake.exe's path has been put in tools_def.txt and build.exe will use that information to call nmake.exe
g) Removed the calling to vsvars32.bat in BaseTools/toolsetup.bat


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4091 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 08:58:33 +00:00
jlin16 d29358f327 Fix the problem of UI and Version section override by the same string. Also not generate empty optional sections.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4085 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 04:00:48 +00:00
mdkinney 9c1c9f1ba8 Only report a circular dependency between library constructors if the total number of constructors > 1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4082 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 18:56:13 +00:00
jwang36 870beba32f Fix bug of UI override not take effect for INF.
Fix bug of FD "shrink" for Lakeport platform.
Error report format change for FDF parser.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4078 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 08:48:24 +00:00
jlin16 884bb16075 Add support for MACRO in key string list of INF.
stop GenFds when GenVtf error occurs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4044 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08 09:53:37 +00:00
jlin16 53b6246146 Add MACRO support for path in FDF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3979 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 06:59:25 +00:00
jlin16 04748716cb Add cycle reference check for FD/FV in FDF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3963 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 06:22:17 +00:00
jlin16 68102e9aff Fix typo for 'SectList'.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3950 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 09:06:57 +00:00
jlin16 c6d9c4d190 GenFds.exe add feature of Capsule generation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3926 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-26 08:57:28 +00:00
jlin16 1051e1d437 Add feature of generating FV address map.
Improve GenFds.exe performance by insuring each FV generated once.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3919 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-25 08:10:11 +00:00
jlin16 b6001acc8e Add support of INF file in FDF that describe binary files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3911 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-21 12:24:55 +00:00
jlin16 e27dccb781 Fix APRIORI file missing FILE statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3903 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-21 03:43:19 +00:00
jlin16 dfa235c55b Add feature of Apriori file generation for FV.
Fix single FV generation error on Nt32.
Print error message when FV size is larger than region size.
Print error message when GUIDed section specify a wrong tool GUID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3898 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-20 08:07:33 +00:00
jlin16 f9d52626ad Fix single FV/FD generation error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3893 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-19 07:04:09 +00:00
jwang36 8a0151cb4c Fixed the wrong usage of ENV()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3842 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 05:50:54 +00:00
jwang36 7354fd2362 Re-generated since some common code has been changed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3840 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 05:29:20 +00:00
jwang36 46d665d690 1) Implemented MACRO in tools_def.txt
2) Added library without library class support
3) Fixed the issue in Trim tool which zero file will be generated if the trimmed file has not line directive

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3832 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-13 09:33:05 +00:00
jlin16 8156f2db7d Fix variable not initialize bug for the following check-in.
if rule section specify a file, use that file to generate section instead of searching for all files with ruel section specified file type to generate section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3794 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-11 08:58:07 +00:00
jlin16 9c5e6f8304 if rule section specify a file, use that file to generate section instead of searching for all files with ruel section specified file type to generate section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3792 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-11 05:58:22 +00:00
jlin16 af56ef1397 use '#' to indicate flash generation progress.
use -v to switch on detail output messages.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3791 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-10 09:51:04 +00:00
lgao4 641ff7aa8d Commit build.exe and GenFds.exe tool to support new Rules format and PCD format defined in FDF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3789 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-10 05:44:04 +00:00
qhuang8 b3af5df67b Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC spec 0.41, DSC spec 0.40.
Mainly PCD syntax update.
Check in new build.exe and GenFds.exe
Check in PcdSyntaxUpdate.exe tool. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3744 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 09:11:54 +00:00
mdkinney 9843f06732 Rebuild GenFds.exe based on tag 554 with the one fix for the build break for FFS files without CHESKSUM sections
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3665 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-16 22:22:28 +00:00
mdkinney 271d81202e Rebuild GenFds.exe based on tag 551 with the one fix for the build break for FFS files without CHESKSUM sections
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3659 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-16 21:23:11 +00:00
mdkinney 6dee5d312b Fix bug in GenFds that would break the build if the FFS rule does not include a Checksum section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3658 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-16 19:29:29 +00:00
qouyang 7336ebe872 GenFds Tool: Fix the bug that the GUID section can't content more than one leaf section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3620 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 05:53:38 +00:00
qouyang 3e042dbcc7 GenFds Tool:Sync with Fdf Spec update. Add the supporting of more than one file, data or Fv in one region.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3550 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-06 05:13:53 +00:00
qouyang 5e6c7c184e GenFds tool: Sync with Fdf Spec update. Add the supporting of more than one file, data or Fv in one region.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3530 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-02 08:13:30 +00:00
qouyang 33b7cf8cb0 GenFdsTool: 1.Fix the bug of 'get wrong PCD value'.
2. Add new future of "copy *.map file to   
               FFS output directory".

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3516 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-01 05:14:03 +00:00
lhauch a4e891f4c6 Set the svn:executable property on all *.exe files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3506 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 23:08:38 +00:00
qouyang e988537eac GenFds: Sync with EdkIIWorkspaceBuild update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3504 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 10:10:45 +00:00
qouyang 514d1d2e31 GenFds: Sync with EdkIIWorkspaceBuild update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3499 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 08:55:11 +00:00
qouyang 411ed01bb8 Update GenFds Tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3485 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 10:24:18 +00:00
qouyang 17e1222d0e GenFds Tool: Replace print with EdkLogger.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3484 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 08:59:23 +00:00
qouyang b73fca8544 GenFds Tool: Add section No. information in section output file name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3478 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 05:21:34 +00:00
qouyang fafdafb99c GenFds Tool:Support both absolutely path and relative path for input file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3456 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-26 10:08:25 +00:00
qouyang 2cfae61ec7 Add FdfObjectClass.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3452 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-26 08:06:47 +00:00
qouyang 6fe7ee7e22 update GenFds tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3447 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-26 03:00:21 +00:00
qouyang 216519bb4d Update GenFds Tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3438 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 07:19:14 +00:00
qouyang 2aa0458082 Update GenFds tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3433 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 05:51:10 +00:00
qouyang 2688c00451 Fix the bug of "can't gen VTF file"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3390 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 09:45:08 +00:00
qouyang 91933306a1 Update GenFds tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3355 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 06:16:16 +00:00
qouyang 8a3fbe786e Update GenFds tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3347 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 03:34:59 +00:00
qouyang 92b0a02995 Updated GenFds Tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3295 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 07:26:35 +00:00
qouyang 4334b98670 Update GenFds tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3294 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 07:23:11 +00:00
qouyang fdaf1f92c1 Modify GenFds tools, which add one check for the return value of calling external tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3250 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-16 07:30:35 +00:00
qouyang f344beff2a Modify GenFds tools, which add one check for the return value of calling external tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3249 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-16 07:16:15 +00:00
jwang36 0a30ba0f56 - Fixed Dynamic PCD for PEI module issue
- Added more information output in GenFds 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3177 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-10 10:57:45 +00:00
jwang36 16687e11bf Added more functionalities
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3119 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 09:39:43 +00:00
jwang36 502eed2493 Added new [BuildOptions] format support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3086 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 02:12:34 +00:00
jwang36 38d3324732 1. Incorporated dll generation and active platform support in GenFds;
2. Added error checks and messages in AutoGen

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3060 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 06:13:38 +00:00
lgao4 53f320dc75 Add GenFds tool to parse FDF file and create Fv, FD image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2997 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 09:11:49 +00:00