Commit Graph

196 Commits

Author SHA1 Message Date
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
lgao4 0bd93d7166 Add PAD file guid table for GenFv reproducibility.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3886 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-18 09:38:54 +00:00
jwang36 4d062cead8 Enabled "fds" build target for build.exe and added "-r" and "-i" options to support individual FD or FV build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3884 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-18 09:17:04 +00:00
lgao4 5effb24a42 Correct GenFv tool to generate capsule image, Correct GenFw tool to override the input files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3877 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 10:13:47 +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 ae0145cb90 1) Fixed the issue which macro in the form of ENV() can't be replaced.
2) Changed the class-less library instance format


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3839 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 05:13:35 +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
jjin9 59565b2e40 fix a bug which blocks the build process.change os.path.isfile to os.path.isabs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3809 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-13 01:26:40 +00:00
qhuang8 cd7e9a3342 Re-fix the issue in r2304.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3808 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 13:29:06 +00:00
qhuang8 b6adf2c1fb Fix a typo so that platforms without FDF file can pass build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3807 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 12:26:45 +00:00
qhuang8 ccde0b6680 Fix typos
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3806 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 11:20:51 +00:00
qhuang8 97582b3182 Fix several typos in build.py and regenerate exe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3805 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 11:12:30 +00:00
klu2 5aae0aa7d8 PI Enable:
1) The entry point of PeiCore has been changed to EFI_PEI_CORE_ENTRY_POINT defined in PI. 
2) Nt32, Tiger and lakeport platform's SecCore has been updated.
3) Autogen tools also has been updated.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3804 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 09:52:37 +00:00
jlin16 2303536ca1 Fix typo in build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3803 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 09:13:50 +00:00
lgao4 8b9a49a446 Update EfiRom tool to fix checksum and PCI3.0 data structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3800 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 06:39:53 +00:00
jwang36 585411e19d a) Added GCC preprocessor support
b) Enforced the the correct line number in the trimmed file, according to the line directive (or linemarker).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3796 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 03:24:26 +00:00
htao 999e19b210 GenVtf tool open/write file with "r+b"/"w+b" attribute, but this cause the RO attribute of the file changed. Fix this issue by changing "r+b"/"w+b" to "rb"/"wb".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3795 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 02:06:19 +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
klu2 c2f2fde67e Upgrade the format of EFI_PEIM_ENTRY_POINT to EFI_PEIM_ENTRY_POINT2 according to PI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3785 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-07 05:41:07 +00:00
qhuang8 cf688318ec Update the syntax of PCD section.
Update the syntax of binary INF file
The generated Extended INF file should follow Extended INF spec 0.44

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3780 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-06 02:01:49 +00:00
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