Commit Graph

171 Commits

Author SHA1 Message Date
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