jwang36
df80da0460
Fixed an incorrect use of EdkLogger.error() which will cause incorrect message if there are two dsc files in the same directory.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4352 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30 09:57:11 +00:00
jwang36
3dd6d16a88
Fixed the build issue when multi target specified, for example both DEBUG and RELEASE are specified in target.txt
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4351 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30 09:29:15 +00:00
jwang36
fc22e99aa3
Fixed a library constructor order issue
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4347 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30 07:14:35 +00:00
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