Commit Graph

236 Commits

Author SHA1 Message Date
jljusten a0d76ec7db Adding link for BaseTools/Bin/PosixLike/Trim to allow tool to be run
during the build process.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4228 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 07:19:18 +00:00
jwang36 d81b56bcbe Fixed memory re-free issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4214 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 09:43:28 +00:00
jwang36 930052168f a. Re-generated all C tools with "/MLd" option
b. Removed antlr.exe and dlg.exe because they are only needed to generate VfrCompile.exe but not to build platform or module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4213 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 08:37:44 +00:00
lgao4 16b5f6819e Update verbose log info to these two tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4204 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-23 03:50:43 +00:00
jwang36 48cc75952c Fixed build issue when building individual module with unsupported architectures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4190 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22 09:08:11 +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 496085b93e Fixed an issue which cause mismatch of line directive in preprocessed GNU assembly code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4122 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 05:33:05 +00:00
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
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
lhauch 23fbee5168 Updated GenFw.exe to handle Microcode Text files with comment only, blank lines, and leading white-space characters
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4081 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 18:22: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
mdkinney 7ebb01af9b Update FIT_SIGNATURE from "_FIT_" to "_FIT_ "
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4047 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08 20:26:38 +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
htao 9ac6d580c8 Use return GetUtilityStatus (); to exit and report the tool status.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4042 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08 07:53:03 +00:00
htao 7a51cc6b2c error/warn/debug message format has been updated so update the tool binary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4040 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08 07:09:45 +00:00
lgao4 208f5b63e1 Fix one bug on memory access exceed in GenFw tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4008 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 05:54:12 +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
lgao4 7659c39953 Add more verbose and debug info for GenFv, GenFfs, GenSec and GenFw tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3981 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 08:21:02 +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
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
qhuang8 e08ce86e47 Add binary Spd2Dec tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3953 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 12:09:25 +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
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
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
htao aaf9042310 update Fpd2Dsc.exe interface to sync users guide and add tool usage in ReadMe.txt. where Fpd2Dsc.exe source is r767 in BaseTools project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3939 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 05:19:33 +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
htao e05c174707 Check in Fpd2Dsc.exe tool which Python code version is 765 in BaseTools project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3935 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 03:55:38 +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
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