Commit Graph

456 Commits

Author SHA1 Message Date
lhauch 7e6ae4d97f Rearranged flags so they are in consiste locations, change ASM warning from /W3 /W0 to just /W3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4335 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-28 01:20:03 +00:00
lgao4 d11013980f Minor change for GenFv to support capsule attribute, GenSec to support guid header size and GenFfs to pad alignment for TeImage.
And Add GenCrc32 tool

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4316 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-21 03:50:33 +00:00
jwang36 f20ffb9ad3 a. Revised error message for a module that is not required by a Platform when building just the module
b. Remove "/" or "\" following $(WORKSPACE) before getting real path when parsing DSC files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4304 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-19 08:24:41 +00:00
jwang36 4bf477810f Fixed the dependency issue on wrong name of makefile.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4291 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-08 03:57:35 +00:00
lgao4 c1f455c3a5 Fix GenFv bug without init local variable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4281 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-07 07:48:54 +00:00
jlin16 79492e5f39 Strip the relocation section for SEC, PEIM and PEI CORE typed files, according to relocation strip flag in FDF file and shadow flag in INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4280 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-07 05:59:12 +00:00
lgao4 9402de91cf Update tool to support reloc section removed, PAD file with same guid and check no duplicated guid file in the same fv image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4275 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-06 11:23:02 +00:00
jwang36 2b993c56f7 Fixed an issue which would cause trimming empty file error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4272 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-06 06:39:13 +00:00
yshang1 8a0d144b39 Add the -mno-red-zone for gcc on x64. Since the GNU calling convention of x64 defines the 128bytes red zone beyond the stack point could not be modified by interrupt or exception handler, and Edk prime assumes all data beyond stack point should be volatile, if not add the option, the interrupt or exception handler may corrupt the red zone, which may be used as temporary storage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4271 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-06 05:30:16 +00:00
jwang36 d28746d23a Added change log for r4251
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4252 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 10:46:34 +00:00
jwang36 44e3ff2f23 a. Fixed an issue which a incorrect command (no leading space/tab) generated in top level Makefile
b. Added code to check zero thread number and disable multi-thread build mode if zero thread number.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4251 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 10:35:08 +00:00
jwang36 04e031d000 a. Changed MYTOOLS to use Visual Studio Team Suite for IA32 and X64. IPF is still use WINDKK.
b. Re-generated build.exe and GenFds.exe to incorporate new changes of build tools
c. Enable multi-thread build mode by default


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4246 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 09:07:31 +00:00
jljusten 8f5a1bcc35 BaseTools/Conf/tools_def.template:
Added '-x assembler' to *_UNIXGCC_*_ASM_FLAGS so pre-processed assembly
  files (*.iii) will assemble correctly.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4235 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 23:17:12 +00:00
jljusten 9ba67b5c81 BaseTools/Conf/build_rule.template:
Fixes for GCC toolpath on unix.  (Changes tested on OS X).


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4233 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 18:34:07 +00:00
jljusten 2347330465 BaseTools/Conf/tools_def.template:
Changes for UNIXGCC toolchain.
  Tested on OS X with x86_64-pc-mingw32 bintools/gcc


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4232 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 08:01:12 +00:00
jljusten 408e506344 BaseTools/ConfTemplates:
Removing BaseTools/ConfTemplates/* and using common BaseTools/Conf,
  even though they cannot be made common for all systems.  (For example,
  target.template)  I will look a different method to accomplish the
  same goal.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4230 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 07:43:33 +00:00
jljusten 8625864ea9 BaseTools/BuildEnv.py:
Removing BaseTools/ConfTemplates/* and using common BaseTools/Conf,
  even though they cannot be made common for all systems.  (For example,
  target.template)  I will look a different method to accomplish the
  same goal.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4229 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 07:42:00 +00:00
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
lhauch c47e45a6c2 Adding GCC cross-compiler information to BaseTools folder
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4206 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-23 17:15:38 +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 1db5dde14b Added Spd2Dec.exe and Fpd2Dsc.exe tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4195 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22 09:34:05 +00:00
jwang36 94dfb890bb git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4194 6f19259b-4bc3-4df7-8a09-765794883524 2007-10-22 09:29:18 +00:00
jwang36 183eb3e617 Added change log for the latest tools update (r4190 & r4189).
Added revision number information of tools source code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4193 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22 09:27:45 +00:00
jwang36 8809fb07fb Updated with the latest changes of build tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4191 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22 09:09:57 +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 2062f2b3f3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4185 6f19259b-4bc3-4df7-8a09-765794883524 2007-10-19 11:08:45 +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 6e98e26326 Make scripts work from $WORKSPACE/BaseTools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4152 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-17 02:19:35 +00:00
jljusten b9e61d7d16 Moving from $WORKSPACE/Tools/BuildEnv $WORKSPACE/BaseTools/BuildEnv.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4150 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-17 02:08:31 +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
jljusten 9bb5c95447 Reorganize templates to allow different templates
in different build environments.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4136 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 20:26:25 +00:00
jljusten f6148b1e01 This script will help automate build environment initialization.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4135 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 20:23:06 +00:00
jlin16 e542e30a19 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4134 6f19259b-4bc3-4df7-8a09-765794883524 2007-10-16 13:48:53 +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 30311cfc7a Solved the VS2005 assembler issue in which "/omf" switch cannot call linker.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4132 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 12:17:53 +00:00
jwang36 8e5c3581bb Changed the default directory of VS2005TEAMSTUIE to the default installation directory of Visual Studio 2005 Team Suite Edition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4129 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 08:08:01 +00:00
jwang36 af437b7c2e Added VS2005TEAMSUITE tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4126 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 06:50:20 +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 c8c6d794df Added GCC assembly code preprocessing support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4114 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-15 06:17:00 +00:00
jwang36 cba02989d1 Added DLL attribute for SLINK and/or CC command because Intel Compiler and linker need the cl.exe and lib.exe from Visual Studio.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4106 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 03:36:32 +00:00
jwang36 06ca7f7102 Corrected the wrong ARCH in WINDDK3790x1830 tool chain and added MAKE command for it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4105 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 03:02:30 +00:00
jwang36 651cad36c1 Updated with the latest changes of build tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4104 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 02:31:44 +00:00
jwang36 2067a15b92 Updated the revision number of build.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4097 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 15:08:14 +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 eb1c2d7bd9 Added MAKE command for ICC and CYGWINGCC tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4095 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 13:34:31 +00:00
jwang36 b63906e1a8 Updated the revision number of build.exe and GenFds.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4092 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 08:59:55 +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 32efb82aab git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4086 6f19259b-4bc3-4df7-8a09-765794883524 2007-10-11 05:51:44 +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 a7593b363b Updated the revision number of source of build.exe and GenFds.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4079 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 08:53:40 +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 e6d6b06d50 Enabled Visual Studio 2005 Professional Edition tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4077 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 08:27:03 +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 5d8e88cb18 Updated the revision number of build.exe and GenFds.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4046 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08 10:43:56 +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 327f4e7d26 Fixed an issue in which the dependent makefile is put in wrong rule.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3975 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 02:50:00 +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 89669de767 Removed TAB characters
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3949 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 08:34:42 +00:00
jwang36 451ec64ad2 Added change log for build.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3948 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 08:32:09 +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
lgao4 7eb4be1851 update ChangeLog.txt by adding acpi table rule change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3942 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 06:22:14 +00:00
htao 03edc4b239 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@3940 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 05:22:31 +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 0ad41bfa87 Add log
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3937 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 05:02:32 +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 5f568053f5 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3927 6f19259b-4bc3-4df7-8a09-765794883524 2007-09-26 08:58:35 +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
jwang36 8d7d0e50d2 Changed Enable to Disable as default value of MULTIPLE_THREAD
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3923 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-26 06:19:10 +00:00
jwang36 ca5fab07d3 Changed the GnuMakefile to Makefile as a workaround for CYGWINGCC toolchain build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3921 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-26 01:55:21 +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 679efe0afa update changelog and source revision for build tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3912 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-21 12:26:36 +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 79acd598ac Changed the revision of source code from which build.exe comes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3885 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-18 09:22:42 +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
lhauch bd1fc2092e Removed PcdFeatureFlag Attribute - use in the FeatureFlag instead PcdTokenSpaceGuidCName.PcdCName
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3879 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 21:39:09 +00:00
lhauch c46ce56dd6 Added PcdFeatureFlag Attribute - use PcdTokenSpaceGuidCName.PcdCName
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3878 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 20:28:23 +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
qwang12 a81a35fe2a update IPF ICC's tool chain root path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3843 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 06:59:37 +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 315324a2fa Sync-ed the revision number of GenFds.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3841 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 05:31:23 +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
lgao4 8fb31ab7f5 Add more details for my non-compatible change check in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3838 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 03:58:37 +00:00
jwang36 38f2ab2989 Added change histories since r3766
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3835 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 01:55:23 +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
jwang36 dc66cae164 Added directory for "Makefile" in "Dynamic-Library-File" rule in case the working directory is changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3831 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-13 08:24:20 +00:00
zliu3 1b7f7985bd Add the "ChangeLog.txt" to record packages' all non-compatible changes and important compatible changes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3830 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-13 06:38:20 +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
jlin16 a17e189b89 update source code revision number.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3802 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 07:45:20 +00:00
jwang36 ef2b52786f Added makefile as dependency for "Dynamic-Library-File" to solve the incremental build issue occurred when there's library changes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3801 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 06:59:05 +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
qhuang8 c6ab060415 Add full path for Cygwin tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3799 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 06:02:38 +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
vanjeff b798ba454c 1. Redirect ICC_IA32_*_PATH from C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin to C:\Program Files\Intel\Compiler\C++\9.1\IA32\Bin.
2. Add ICC X64 definition to enable ICC X64 build.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3786 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-10 01:55:34 +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
lgao4 3a09b62ac8 Update Acpi Asl file Build rule to remove trim step.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3766 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-03 07:55:32 +00:00
jwang36 4070a6c6ec Updated the revision of source files build.exe was generated from
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3754 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-31 05:11:01 +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
lhauch 5359495341 Cleaned up the tools_def.template file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3734 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29 22:48:17 +00:00
zliu3 107bb017a5 Update the build_rule.template to enable the PCD usage in IPF assembly code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3732 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29 08:57:24 +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
xli24 d03c56df27 Update compiler switches for ICC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3724 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-28 09:14:07 +00:00
mdkinney 5d0e8a3144 Update MSFT IPF flags to us /Ox /Zx /GF
Max Optimizations
  Debuggable Optimizations
  Read-only data pooling


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3719 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-28 02:16:34 +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
jwang36 65010787e1 Added missed GenFds version and fixed the path error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3709 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 02:05:10 +00:00
xli24 5da4862d96 Update ASL definition for ICC tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3706 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-24 08:26:27 +00:00
lgao4 48988f855b Update build rules to cover ICC build for aslc file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3700 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-24 02:20:50 +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 4a8f7ccecc Changed the revision number of AutoGen source code since build.exe was regenerated for it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3691 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-22 09:40:48 +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