Commit Graph

121 Commits

Author SHA1 Message Date
jwang36 72b8a1a8ba a) Fixed single module hang issue when using spawn mode
b) Fixed FD generation failure issue when in multi-thread mode
c) Added code to check if MAKE command is defined or not


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4096 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 14:52:56 +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
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
jwang36 3b1e58ef92 Fixed build hang issue in multi-thread mode and in configuration loading error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4045 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08 10:27:52 +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
jwang36 ced44f7370 a. Fixed unnecessary re-build issue
b. Fixed build.exe won't exit issue when error occurred in multi-thread build mode.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3986 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 09:49:24 +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
jwang36 de0f811d4a Fixed an issue that is the auto-generated code for dynamic-ex PCD is not correct
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3974 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 01:46:24 +00:00
jwang36 5364ee3303 Fixed an issue which DSC file in current directory has higher priority than DSC file set in target.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3951 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 09:34:58 +00:00
jwang36 2f1b3cb20e 1) Improved spawn mode (multi-thread) build performance
2) Changed the error/debug/warning message format
3) Added "--log" command line option to support storing log in file


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3947 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 08:30:39 +00:00
klu2 b4b771c91b Modify PEIM's entry point
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3936 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 04:57:28 +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 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
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
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 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 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
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 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
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
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
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
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
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
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
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
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
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
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
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