Commit Graph

272 Commits

Author SHA1 Message Date
jwang36 ccdeb61742 Fixed an issue which will remove the first line if there's no "#line" directive in the input file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3767 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-03 13:22:28 +00:00
jwang36 89d96039a2 1. Added support of included file with macro
2. Removed package a module belongs to from dependent package list if it's not declared in module's INF

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3753 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-31 05:05:44 +00:00
qhuang8 cbbda8f1b7 Add execute attribute for exe file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3745 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 09:53:14 +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
qhuang8 8ea6977890 Fix a critical bug that the Migration Tool mistakenly creates exit-boot-services event in case of <VirtualAddressChange> externs.
This only happens when the extra option "-e" is on (by default it is off).
Update the readme.txt in BaseTools package to specify the python source for MigrationMsa2Inf.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3730 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29 02:28:01 +00:00
lgao4 0fdbee900e Fix one bug in GenFv tool to generate the correct capsule header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3726 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-28 09:31:03 +00:00
lgao4 c7cecacbe8 Update the following tools with usage information, and update GenFv tool to support dump capsule image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3725 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-28 09:18:41 +00:00
htao 98376cc51d TianoCompress tool code cleanup to delete parameters number check and hard code buffer size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3716 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 08:11:50 +00:00
htao aff09100b7 Fix a bug in TianoCompress tool to handle encoded file size larger than original file size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3715 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 07:43:15 +00:00
htao d11935f9f9 Sync GenVtf.exe and TianoCompress.exe tool to the binary in BaseTools project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3696 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-23 12:56:35 +00:00
jwang36 d60db64055 Fixed incremental link issue, which dependent libraries were not taken into account.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3689 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-22 09:29:30 +00:00
qhuang8 6f5554bd58 Rename the Msa2Inf.exe to MigrationMsa2Inf to indicate the real usage.
Add extra option when using FreezePython.exe to make it works fine in Non-Us locale.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3679 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-19 01:58:45 +00:00
jwang36 dce323a67c Re-designed build_rule.template and updated build.exe to support the new format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3677 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-18 03:54:24 +00:00
qhuang8 46d9097615 Check in the proto-Msa2Inf tool. This is the really migration tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3676 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-18 01:42:01 +00:00
jwang36 49dd059fe5 Added back removed files for Python tools, and re-generated Msa2Inf.exe since it cannot run on non-English locale environment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3675 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-18 00:47:55 +00:00
jwang36 d8bcc8121b Removed files not generated by freezer any longer
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3669 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-17 03:11:05 +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
mdkinney 00666ce6ce Fix two bugs in GenVtf.c
1) There is a check for a specific number of command line arguments.  This does not work when there are optional arguments like -v for verbose.
2) The check for the verbose flag checked for 'v' and '-'.  I should check for 'v' and 'V'.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3644 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-15 20:57:16 +00:00
jwang36 8edf7e980a Incorporated Mike's fix on gEfiCallerGuidId definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3640 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-15 02:26:05 +00:00
qouyang 07c01787e3 Fix bug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3639 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 10:26:52 +00:00
htao ed72357a70 Correct usage help information and error information format for GenVtf, EfiRom, and TianoCompress tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3635 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 07:57:36 +00:00
qhuang8 13b2f60d84 Add Msa2Inf.exe: Port an EDKII module to EDKII' module:
1. Generate Extended INF based on MSA file
2. Add public header file inclusion
3. Generate [Depex] section based on module DXS file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3628 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 13:08:26 +00:00
jwang36 45655bacc9 Fixed an issue of PCD under [Components] in DSC file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3627 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 10:18:49 +00:00
jlin16 f3c9803809 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3625 6f19259b-4bc3-4df7-8a09-765794883524 2007-08-13 09:19:08 +00:00
jwang36 569f0fe6b8 Fixed a bug in parsing <PcdsDynamic> of <Components> in DSC file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3623 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 07:27:02 +00:00
jwang36 62271ed6b8 1. Incorporated FDF parser fix
2. Fixed library instance search issue
3. Fixed value format issue of UINT64 type of PCD


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3621 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 06:07:25 +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
jwang36 c4400818d2 Fixed an issue in referencing DatumType in AutoGen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3619 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 03:51:20 +00:00
lgao4 c22b604273 Correct help usage format and error message format for the GenFw, GenSec, GenFfs and GenFv tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3616 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 03:05:25 +00:00
jwang36 9393402a2c 1. Changed the trim algorithm to be more general according to the Line Control directive
2. Changed the command line options to be standard and changed its uses in build_rule.template accordingly.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3614 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 01:06:44 +00:00
jjin9 64d3b0e13c fix a issue for TARGET_ARCH
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3613 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-12 05:32:20 +00:00
jwang36 d17bb5c332 1. Added architecture override option for GenFds command in top level makefile
2. Added new log method

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3597 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-09 16:00:39 +00:00
jlin16 a1c3eb6866 BootSectImage binary to modify MBR or boot sector.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3596 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-09 09:16:06 +00:00
jwang36 5d57e86caa Fixed library instance selection issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3595 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-09 09:11:21 +00:00
jwang36 9f6bb5f693 Changed the output format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3571 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 09:54:52 +00:00
jwang36 f3f152e824 Fixed BDS display issue caused by unicode file parse
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3568 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 07:21:35 +00:00
jwang36 65ddc26edc 1. Fixed STRING_TOKEN() matching issue during unicode file parsing
2. Added "#include" support in unicode file
3. Removed an non-existing unicode file included in MiscSubclassDriver.uni


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3566 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-07 10:03:39 +00:00
jlin16 f50f181dec GenPage binary to generate EfiLoaderImage with page table.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3564 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-07 08:58:45 +00:00
jlin16 632a3a6c0b GenBootSector binary to modify boot sector.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3560 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-07 02:14:32 +00:00
jwang36 8559bf272b Fixed an issue which all lines will be removed if no "#line" or "#" is found
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3559 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-07 01:45:27 +00:00
lhauch 2118457ba5 Set the executable property on Split.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3556 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-06 21:22: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
jwang36 c8db3056ec Fixed derived DEPEX issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3543 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-03 06:31:37 +00:00
jlin16 184b892bbf Add mult-level directory creation feature for specified output files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3541 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-03 06:02:11 +00:00
jlin16 6f9fdc5fef Split binary to split one file into two files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3537 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-03 03:57:40 +00:00
jwang36 2115deb3ce Roll back to r3528
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3535 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-03 02:36:06 +00:00
jwang36 84600c365d Fixed issue in Dynamic PCD in dependent library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3532 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-02 09:14:54 +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
lgao4 7b2b99a342 Update GenFw and Genfv tool to support Microcode and FvMap. And Update build rules for micro code file type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3529 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-02 05:26:55 +00:00
jwang36 2127f4dff2 Fixed PCD Sku VariableGuid error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3528 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-02 04:53:50 +00:00
jwang36 6b4fe92ad9 1. Generated new build.exe from new tools code
2. Removed some duplicated includes in source files
3. Changed the source file format in INF files
4. Removed duplicated PCDs in MdePkg.dec


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3520 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-01 08:45:32 +00:00
jjin9 bf3473e916 a tool to edit target.txt in CLI mode
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3519 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-01 07:53:03 +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
jwang36 d58f90fb9f Per the requirement of GenFv tool, added command to copy *.map file to $(OUTPUT_DIR)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3513 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 08:37:59 +00:00
jwang36 f48e6ea393 Changed the .lib file directory from public LIB_DIR to private OUTPUT_DIR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3512 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 07:46:16 +00:00
jwang36 6e8d441d44 There's still bug in library summarization code. Fixed now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3511 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 03:46:28 +00:00
jwang36 a5370b7415 Fixed the library instance filter issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3509 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 02:08:37 +00:00
jwang36 517655ccea Fixed issue in filtering supported module type for library instance
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3508 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 02:00:55 +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
lhauch cee779eaad Set SVN Property: svn:executable on VfrCompile.exe - may resolve an issue where the SVN update is changing execute permissions on these files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3505 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 23:03:53 +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
jwang36 840d59b645 Fixed dynamic PCD autogen issue for LakeportX64
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3503 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 10:05:42 +00:00
jwang36 c55eb6ed1f Fixed the missed parameter of GetGuidValue()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3501 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 09:11:13 +00:00
jwang36 c0b30ab849 Removed "self." from GetGuidValue() method since it's global
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3500 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 09:03:54 +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
jwang36 434c69b7cc Fixed a typo in PCD type
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3498 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 08:25:46 +00:00
jwang36 eca7eaf49b Fixed TokenNumber issue for DynamicEx type of PCD
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3491 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 02:34:47 +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
jwang36 8b105003d7 Fixed library instance incomplete issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3483 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 07:08:58 +00:00
jwang36 8fca1f0545 Fixed library instance issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3480 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 06:22:54 +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
jwang36 8a0c307cd3 Added 0 before HEX number after converted in case it's started by [abcdef]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3467 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 02:58:39 +00:00
jwang36 0efc9c02d1 Fixed an issue which will cause removing necessary structure definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3466 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 02:19:35 +00:00
jwang36 892f21378b Fixed tool chain error when building single module for platform with more than one arch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3463 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 01:28:37 +00:00
jwang36 56919d25a6 Changed Trim tool to use standard command line options and changed its usage in build_rule.template correspondingly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3462 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 00:20:44 +00:00
jwang36 7329b0c500 Fixed an issue in building single module for platform with more than one arch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3460 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 00:17:41 +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
jwang36 035028de3c 1. Added more check on module ARCH
2. Changed relative directory to absolute directory of dsc file passed to GenFds in top level makefile

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3455 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-26 09:58:00 +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
jwang36 344e92420f 1. Fixed PCD MaxDatumSize issue
2. Fixed WORKSPACE build directory creation issue

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3441 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 07:57:57 +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
lgao4 628818c927 Update Vtf tool to create vtf file with raw ffs type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3436 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 06:16:10 +00:00
jwang36 804c081d69 1. Fixed PCD SizeTable issue in AutoGen.c
2. Added ACPI table module support
3. Added USER_DEFINED support for SEC module


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3434 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 06:13:03 +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
lgao4 9801c29cb3 Update GenFw tool to create TeImage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3413 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 06:54:05 +00:00
jwang36 effbb3a79e 1. Added more error check
2. Removed the generation of ASM_PFX macro in AutoGen.h
3. Changed gCallerIdGuid to the type of GUID in AutoGen.c
4. Added "extern gCallerIdGuid" and EFI_CALLER_ID_GUIDin AutoGen.h
5. Changed output directory of EFI file to DEBUG_DIR
6. Added "if exist"/"test -e" before creating/removing directory command


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3412 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 06:07:25 +00:00
htao 5b0f196c66 add "-p" interface for EfiRom tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3402 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-23 08:24:41 +00:00
jwang36 2cabdfc6a1 Put a copy of efi file in OUPUT directory also
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3398 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-23 03:31:15 +00:00
jwang36 9462d55086 - Changed output directory of .efi file;
- Added more error check

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3397 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-23 03:02:24 +00:00
htao 993eed8966 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3395 6f19259b-4bc3-4df7-8a09-765794883524 2007-07-20 14:18:13 +00:00
htao 6746ddf90c To remove debug point and some debug info and rebuild the binary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3392 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 09:58:04 +00:00
jwang36 5d65088081 Removed more struct typedef for IPF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3391 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 09:49:04 +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
jwang36 470bbb2942 Fixed GCC link issue and vfr build issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3385 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 05:30:43 +00:00
jwang36 c417dbcf5e Fixed EBC build error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3367 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 09:42:37 +00:00
jwang36 aced30c670 Fixed another typo in PCD autogen template string
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3360 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 07:59:09 +00:00
jwang36 fcc7efa0d8 Fixed a typo in PCD autogen template string
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3358 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 07:37:34 +00:00
jwang36 07fdd22d9d Removed unnecessary debug message
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3357 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 06:41:45 +00:00
jwang36 1487000144 Temporary fix for bug in building platform for more than one arch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3356 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 06:35:58 +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
jwang36 a82cae466b Added more error check
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3350 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 04:57:55 +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
lgao4 edc369f462 Fix one bug to create pad raw section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3338 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 01:46:03 +00:00
jwang36 ca451dba10 Added GCC (CYGWIN only) tool chain family support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3332 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 15:23:51 +00:00
lgao4 b8c535a7d2 Update these four tools linked with single threaded C run time library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3318 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 07:22:05 +00:00
jwang36 9f8f4f8733 Fixed Unicode-Text file type issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3317 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 07:14:24 +00:00
htao 497127ac4d change Assert to normal error exit.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3314 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 06:53:29 +00:00
jwang36 b1f7ad6671 Improved the file type filter
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3313 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 06:50:31 +00:00
htao 523bc716fb tool binary update to add binary size parameter check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3312 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 06:37:01 +00:00
htao 7b6c742066 Check in EfiRom and TianoCompress tool binary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3309 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 03:08:09 +00:00
htao f62edf33aa check in GenVtf tool binary
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3307 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 03:03:05 +00:00
jwang36 b2a462ae54 Merged with new build tool changes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3303 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 01:55:40 +00:00
jwang36 893e6ccf3b Added more error message when PCD is not found
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3299 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 09:31:27 +00:00
lgao4 77ee706ba5 Fix one bug to create pad raw section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3296 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 08:06:51 +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
lgao4 f9f5af433a Change C source tool from dynamic link to static link.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3292 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 06:41:40 +00:00
jwang36 f74e8581ea 1. Fixed generated token number issue for dynamic PCD
2. Fixed EBC system library link issue

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3281 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 03:43:56 +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
lgao4 e9508cd216 Add more debug information into these tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3240 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-13 16:04:29 +00:00
jwang36 326e346966 Fixed missed exception message
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3214 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-12 10:27:07 +00:00
jwang36 e10faeabb4 Fixed unicode file parse issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3202 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-12 01:20:23 +00:00
lgao4 c22621b89c Add more debug info into GenSec tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3198 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-11 16:00:43 +00:00
jwang36 375da20d98 Fixed "#line" line embedded in a "struct" definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3197 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-11 09:49:33 +00:00
jwang36 deeaf00312 Added string variable declarations in AutoGen.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3189 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-11 03:27:19 +00:00
jwang36 97eb619e31 1. Fixed library instance override issue
2. Fixed empty file issue when searching dependency file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3188 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-11 03:13:08 +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 c257af0caa 1. Refined the generated makefile
2. Added run target for NT32 platform
3. Added more error check


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3164 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-10 05:31:51 +00:00
jwang36 b51e4ee433 1. Added USER_DEFINED support;
2. Added more error check for PCD autogen


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3161 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-09 10:23:24 +00:00
jwang36 1d12eae9de Refined the build* targets
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3159 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-09 08:35:33 +00:00
jjin9 98da41e86a Don't call genc and genmake again for target(CleanALL)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3134 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-07 02:15:50 +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 2cb630b10e Enabled PCD DXE/PEI module build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3104 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 07:41:51 +00:00
jwang36 a01c2c801d Fixed exit() issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3099 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 05:22:21 +00:00
jwang36 5391f20b5b Fixed a string format typo when raising exception
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3097 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 05:01:13 +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
jwang36 cb842d3ae6 Not to generate GenFds when no FDF is found
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3027 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 06:46:08 +00:00
jwang36 258e731a0f Use build.exe instead
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3026 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 06:01:46 +00:00
jwang36 3a3ed4a96a Incorporated GenFds in platform Makefile
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3025 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 06:00:27 +00:00
jjin9 34f9235e10 upload bld.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3006 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 10:07:23 +00:00
jwang36 fc26ff846e Fixed a merge issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3003 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 09:54:37 +00:00
jwang36 bc154f914a Incorporated PCD database support and a PCD parse bug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3000 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 09:37:13 +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
jwang36 5e51d10e2c Added code to remove "GUID" structure type definition in preprocessed VFR files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2993 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 08:18:53 +00:00