jljusten [Thu, 1 Nov 2007 22:45:45 +0000 (22:45 +0000)]
Ported r864 to gnu toolchain.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@865
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Thu, 1 Nov 2007 22:14:13 +0000 (22:14 +0000)]
Moved most makefiles under a separate Makefiles directory. This will allow the makefiles and common library to be used in other project by using subversion 'externals' to pull down the Common & Makefiles directories. (The other projects will have to provide a similar Makefile/GNUmakefile in their own root directory. Notice the these files are not moved in the BaseTools C code.)
This change has only been ported for the microsoft build tools (VS 2003).
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@864
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Wed, 31 Oct 2007 10:37:17 +0000 (10:37 +0000)]
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://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@863
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Wed, 31 Oct 2007 09:14:06 +0000 (09:14 +0000)]
Changed way to call LaunchCommand
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@862
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Wed, 31 Oct 2007 05:56:50 +0000 (05:56 +0000)]
a. Supplemented file/class/function header comments
b. Changed WARN log level to be higher than INFO, i.e. WARN message will be printed out by default.
c. Added initial version of cache mechanism
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@861
7335b38e-4728-0410-8992-
fb3ffe349368
lhauch [Tue, 30 Oct 2007 23:01:23 +0000 (23:01 +0000)]
Updated makefiles to use flags that are common in both 2003 and 2005, replaced the 2003 only /MLd flag with the common /MTd flag. This flag has been successfully tested in the Build Pool with both 2003 and 2005 compilers.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@860
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Tue, 30 Oct 2007 20:01:17 +0000 (20:01 +0000)]
BaseTools/Source/Python/Trim/Trim.py:
Fix trim failure for source files with a zero length. For example
edk2 => MdePkg/Library/BaseLib/X64/Thunk16.S currently has a zero length.
Code also reviewed by Javen (jwang36).
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@859
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Mon, 29 Oct 2007 07:14:25 +0000 (07:14 +0000)]
BaseTools/Source/Python/build/build.py:
BaseTools/Source/Python/AutoGen/AutoGen.py:
Changes for python on unix. Subprocess.Popen on unix requires
a tuple to send parameters to the command.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@858
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Mon, 29 Oct 2007 05:33:48 +0000 (05:33 +0000)]
Added separate makefile for the BaseTools/Source/Python.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@857
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Sat, 27 Oct 2007 03:31:31 +0000 (03:31 +0000)]
Fixed spelling of APPLOCATION to APPLICATION, as it was only partially
corrected in r851, and therefore left the tools in an un-buildable state.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@856
7335b38e-4728-0410-8992-
fb3ffe349368
hche10x [Fri, 26 Oct 2007 09:31:48 +0000 (09:31 +0000)]
1. Add support of a new filed "Shadow" in INF
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@855
7335b38e-4728-0410-8992-
fb3ffe349368
lhauch [Thu, 25 Oct 2007 22:54:26 +0000 (22:54 +0000)]
Updated Makefile to replace -o File to -FoFile for object files generated by the CXX compiler. These flags are common to both MS Visual Studio versions.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@854
7335b38e-4728-0410-8992-
fb3ffe349368
lhauch [Thu, 25 Oct 2007 22:52:35 +0000 (22:52 +0000)]
Updated MSFT makefiles to use _CRT_SECURE_NO_DEPRECATE and _CRT_NONSTDC_NO_DEPRECATE flags for VS2005 - these flags are ignored by MSVS 2003, so no impact to the tools. Also changed -o File to -FoFile for objects and -FeFile for executables generated by the compiler. These flags are common to both MSVS versions.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@853
7335b38e-4728-0410-8992-
fb3ffe349368
lhauch [Thu, 25 Oct 2007 22:48:37 +0000 (22:48 +0000)]
Moved DEBUG message for VendorGuidSect into the section where it was defined configured - under some circumstances, it was not defined, and the DEBUG statement caused the tool to fail under a VS2005 build.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@852
7335b38e-4728-0410-8992-
fb3ffe349368
lhauch [Thu, 25 Oct 2007 16:15:36 +0000 (16:15 +0000)]
Modified all tool Makefiles to set the LIBS=$(LIB_PATH)\Common.lib so that we do not have to use /libpath: in the MSmakefile.app
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@851
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Thu, 25 Oct 2007 09:44:25 +0000 (09:44 +0000)]
Fixed memory re-free issue
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@850
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Thu, 25 Oct 2007 08:27:03 +0000 (08:27 +0000)]
Fixed the "rebuild" failure issue
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@849
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Thu, 25 Oct 2007 08:13:48 +0000 (08:13 +0000)]
Added "/MLd" to CFLAGS and added "/nodefaultlib:libc.lib" to link command to make sure tools using static link of runtime library.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@848
7335b38e-4728-0410-8992-
fb3ffe349368
lhauch [Tue, 23 Oct 2007 17:17:30 +0000 (17:17 +0000)]
Adding gcc information to the UserManuals area of BaseTools
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@847
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Tue, 23 Oct 2007 08:27:14 +0000 (08:27 +0000)]
Added function/class header comments
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@846
7335b38e-4728-0410-8992-
fb3ffe349368
lgao4 [Tue, 23 Oct 2007 03:45:08 +0000 (03:45 +0000)]
Update the precise verbose information in GenFfs and GenFv.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@845
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Mon, 22 Oct 2007 09:05:25 +0000 (09:05 +0000)]
Fixed build issue when building individual module with unsupported architectures.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@844
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Mon, 22 Oct 2007 06:35:32 +0000 (06:35 +0000)]
Rolled back the check of not found library instance.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@843
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Mon, 22 Oct 2007 06:34:47 +0000 (06:34 +0000)]
Added RunningQueue to keep track of running build thread to avoid dead loop when aborting build.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@842
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Mon, 22 Oct 2007 06:33:14 +0000 (06:33 +0000)]
Added NonDynamicPcdList to store non-dynamic type of PCD
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@841
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Mon, 22 Oct 2007 06:32:22 +0000 (06:32 +0000)]
Lower down the level of debug message in GetDependencyList
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@840
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Mon, 22 Oct 2007 06:31:17 +0000 (06:31 +0000)]
Added check of MaxDatumSize against empty string and changed the error message.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@839
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Mon, 22 Oct 2007 06:30:06 +0000 (06:30 +0000)]
Changed code to use PCD from module only
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@838
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Fri, 19 Oct 2007 11:06:16 +0000 (11:06 +0000)]
output command line of calling c tools.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@837
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Fri, 19 Oct 2007 10:32:38 +0000 (10:32 +0000)]
disable autogen lib instance check.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@836
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Fri, 19 Oct 2007 09:59:36 +0000 (09:59 +0000)]
disable autogen lib instance check.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@835
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Fri, 19 Oct 2007 08:57:03 +0000 (08:57 +0000)]
pass -v and -d options to c tools.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@834
7335b38e-4728-0410-8992-
fb3ffe349368
hche10x [Fri, 19 Oct 2007 07:32:51 +0000 (07:32 +0000)]
1. Add a feature to support: The Pcds which are used in INF/DEC but not found in DSC or FDF file, originally build process stops. Now change it to print warning message, use default value defined in DEC file instead and output unfound pcds list
2. Change to use VERSION_STRING to always take precedence over VERSION_NUMBER. Output warning message if INF file only defines VERSION_NUMBER or defines both VERSION_NUMBER and VERSION_STRING
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@833
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Thu, 18 Oct 2007 15:43:14 +0000 (15:43 +0000)]
a) Changed code to support breaking build when no library instance is found for a library class.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@832
7335b38e-4728-0410-8992-
fb3ffe349368
hche10x [Thu, 18 Oct 2007 09:20:59 +0000 (09:20 +0000)]
1. Adjust code to follow coding style, complete missing comments
2. Fix a bug in library instance selection when it is defined in common arches and common module types
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@831
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Wed, 17 Oct 2007 17:44:03 +0000 (17:44 +0000)]
BaseTools/Source/Python/Common/String.py:
Removed code which could break an absolute path for unix-like operating
systems. Change was verified on edk2 Nt32Pkg under Windows XP as well.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@830
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Wed, 17 Oct 2007 17:38:54 +0000 (17:38 +0000)]
BaseTools/Source/Python/Common/EdkIIWorkspaceBuild.py:
In the case of a missing PCD entry, print out the architecture to aid in
debugging the cause of the failure.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@829
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Wed, 17 Oct 2007 17:36:43 +0000 (17:36 +0000)]
BaseTools/Source/Python/Common/ToolDefClassObject.py:
Allow ENV(foo) to be used on non-'DEFINE' lines. This allows ENV(foo) to
be used on lines that define tool paths.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@828
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Tue, 16 Oct 2007 13:46:09 +0000 (13:46 +0000)]
Output message format change.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@827
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Tue, 16 Oct 2007 12:14:56 +0000 (12:14 +0000)]
Change FvAddress.inf to FV\Ffs directory.
Generate FvAddress.inf only once.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@826
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Tue, 16 Oct 2007 07:48:27 +0000 (07:48 +0000)]
coding style change
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@825
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Tue, 16 Oct 2007 05:30:41 +0000 (05:30 +0000)]
Used more strict rule for regular expression matching line directive to solve some mismatch problems.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@824
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Mon, 15 Oct 2007 11:56:00 +0000 (11:56 +0000)]
coding style change.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@823
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Fri, 12 Oct 2007 10:11:57 +0000 (10:11 +0000)]
coding style change.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@822
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Fri, 12 Oct 2007 06:41:46 +0000 (06:41 +0000)]
BaseTools/Source/Python/AutoGen/GenMake.py:
Changed separate 'cd' and 'make' commands to be on a single line
to be compatible with GNU make. For example, this:
cd foo
make bar
becomes:
cd foo && make bar
It should be noted that ideally gnu makefiles would be generated as:
make -C foo bar
but for now, this solution can be shared for nmake and gnu make.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@821
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Fri, 12 Oct 2007 06:25:40 +0000 (06:25 +0000)]
coding style change.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@820
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Thu, 11 Oct 2007 23:24:32 +0000 (23:24 +0000)]
BaseTools/Source/Python/Common/ToolDefClassObject.py:
Allow 'DEFINE' macros to use previously defined macros. For example:
DEFINE A = foo
DEFINE B = DEF(A)bar
will make B equal foobar.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@819
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Thu, 11 Oct 2007 22:34:14 +0000 (22:34 +0000)]
BaseTools/Source/Python/Trim/Trim.py:
Changed EdkLogger usage from "setLevel" to "SetLevel"
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@818
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Thu, 11 Oct 2007 14:51:28 +0000 (14:51 +0000)]
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://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@817
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Thu, 11 Oct 2007 08:50:35 +0000 (08:50 +0000)]
a) Supported MAKE command in tools_def.txt
b) Cleaned several message strings
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.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@816
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Thu, 11 Oct 2007 03:52:44 +0000 (03:52 +0000)]
Fix the problem of UI and Version section override by the same string. Also do not generate empty optional sections.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@815
7335b38e-4728-0410-8992-
fb3ffe349368
mdkinney [Wed, 10 Oct 2007 18:55:03 +0000 (18:55 +0000)]
Only report a circular dependency between library constructors if the total number of constructors > 1.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@814
7335b38e-4728-0410-8992-
fb3ffe349368
lhauch [Wed, 10 Oct 2007 17:59:21 +0000 (17:59 +0000)]
Updated the minor version number for this program after modification to microcode text file processing
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@813
7335b38e-4728-0410-8992-
fb3ffe349368
lhauch [Wed, 10 Oct 2007 16:35:50 +0000 (16:35 +0000)]
Modified to strip leading white-space characters and ignore blank or comment only lines
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@812
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Wed, 10 Oct 2007 08:43:11 +0000 (08:43 +0000)]
Incorporated the GenFds changes
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@811
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Wed, 10 Oct 2007 08:42:30 +0000 (08:42 +0000)]
a) Cleaned the code
b) Incorporated the GenFds changes
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@810
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Wed, 10 Oct 2007 08:16:15 +0000 (08:16 +0000)]
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://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@809
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Tue, 9 Oct 2007 09:10:54 +0000 (09:10 +0000)]
using new format error message for FDF parser.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@808
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Tue, 9 Oct 2007 06:55:45 +0000 (06:55 +0000)]
Use Edk logger format to print exception messages.
Use VTF file position in FDF if exists.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@807
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Tue, 9 Oct 2007 06:02:19 +0000 (06:02 +0000)]
Added one extra parameter for error()
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@806
7335b38e-4728-0410-8992-
fb3ffe349368
htao [Tue, 9 Oct 2007 01:21:38 +0000 (01:21 +0000)]
use GetUtilityStatus() to return the status.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@805
7335b38e-4728-0410-8992-
fb3ffe349368
mdkinney [Mon, 8 Oct 2007 20:24:48 +0000 (20:24 +0000)]
Change FIT_SIGNATURE from "_FIT_" to "FIT_ ". The 3 spaces were missing.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@804
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Mon, 8 Oct 2007 10:18:09 +0000 (10:18 +0000)]
Fixed build hang issue in multi-thread mode
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@803
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Mon, 8 Oct 2007 08:57:57 +0000 (08:57 +0000)]
Add support for MACRO in key string list of INF.
stop the GenFds process when GenVtf error occurs.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@802
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Mon, 8 Oct 2007 02:44:22 +0000 (02:44 +0000)]
Added setDaemon(False) before each thread.start() call in case the main thread will be hung by the daemon threads.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@801
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Wed, 3 Oct 2007 16:48:30 +0000 (16:48 +0000)]
Fixed build error when using gcc 4.1. gcc 4.1 would flag an error
if the class was specified on functions defined inside the class
structure.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@799
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Wed, 3 Oct 2007 16:30:40 +0000 (16:30 +0000)]
Various changes to allow "C" tools to build on OS X & Linux.
These applications now built:
GenFw GenSec GenFv GenFfs GenVtf EfiRom TianoCompress
Split EfiLdrImage GenPage VfrCompile
But, these are still not built:
GenBootSector BootSectImage
Although the built images appear to display the 'sign-on'
message correctly when run, their functionality has not been
verified.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@798
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Wed, 3 Oct 2007 06:52:56 +0000 (06:52 +0000)]
BaseTools/Source/C/MSmakefile.lib:
Delete *.pdb on 'clean' similar to MSmakefile.app.
BaseTools/Source/C/VfrCompile/Makefile:
Delete more intermediate files on 'clean' & 'cleanall'.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@797
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Wed, 3 Oct 2007 06:48:40 +0000 (06:48 +0000)]
bootsectimage.c:
Change SetDebugMsgMask calls to SetPrintLevel.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@796
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Wed, 3 Oct 2007 06:00:02 +0000 (06:00 +0000)]
nmake/windows build:
Added NmakeSubdirs.bat to run nmake on subdirectories and halt
if an error is encountered. With the previous 'for' usage in the
Makefile it was being missed that BootSectImage was failing to
build.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@795
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Sun, 30 Sep 2007 06:47:15 +0000 (06:47 +0000)]
Clean the code and added Doxygen style function/class header comment.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@794
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Sun, 30 Sep 2007 06:07:59 +0000 (06:07 +0000)]
Clean the code and added Doxygen style function/class header comment.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@793
7335b38e-4728-0410-8992-
fb3ffe349368
lgao4 [Sun, 30 Sep 2007 05:50:26 +0000 (05:50 +0000)]
Fix one bug in GenFw tool (Memory access exceed) reported by Tian Feng
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@792
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Sun, 30 Sep 2007 05:34:06 +0000 (05:34 +0000)]
Clean the code and added enough comments, including Doxygen style function/class header comment.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@791
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Sat, 29 Sep 2007 09:40:21 +0000 (09:40 +0000)]
Not to set thread to "daemon" mode to fix the issue which the build.exe won't exit sometimes the error occurred.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@790
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Sat, 29 Sep 2007 08:16:55 +0000 (08:16 +0000)]
Fixed an unnecessary re-build issue which is caused by the module order in platform object.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@789
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Sat, 29 Sep 2007 06:31:40 +0000 (06:31 +0000)]
Add feature of MACRO support in FDF file.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@788
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Sat, 29 Sep 2007 05:46:37 +0000 (05:46 +0000)]
Clean the code and added enough comments, including Doxygen style function/class header comment.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@787
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Sat, 29 Sep 2007 05:45:19 +0000 (05:45 +0000)]
Changed the default value [''] to [] since it will cause error if no TARGET_ARCH or TARGET is not set in target.txt.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@786
7335b38e-4728-0410-8992-
fb3ffe349368
qouyang [Fri, 28 Sep 2007 10:11:57 +0000 (10:11 +0000)]
Fixed TokenNumber issue for dynamic-ex PCD
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@785
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Fri, 28 Sep 2007 09:48:22 +0000 (09:48 +0000)]
Changed Pcd.Token to Pcd.TokenValue
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@784
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Fri, 28 Sep 2007 09:38:12 +0000 (09:38 +0000)]
Fixed dynamic-ex PCD type comparison issue
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@783
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Fri, 28 Sep 2007 06:03:43 +0000 (06:03 +0000)]
Fix data section type checking for FDF parser.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@782
7335b38e-4728-0410-8992-
fb3ffe349368
htao [Fri, 28 Sep 2007 03:28:02 +0000 (03:28 +0000)]
change file opening w+b mode to "wb" mode.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@781
7335b38e-4728-0410-8992-
fb3ffe349368
lhauch [Thu, 27 Sep 2007 15:32:03 +0000 (15:32 +0000)]
Sync ChangeLong with edk2 tree
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@778
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Thu, 27 Sep 2007 10:24:40 +0000 (10:24 +0000)]
Add feature of cycle reference detection in FDF file.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@777
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Thu, 27 Sep 2007 09:30:37 +0000 (09:30 +0000)]
Fixed an issue which the DSC file in current directory overrides the DSC file in target.txt
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@776
7335b38e-4728-0410-8992-
fb3ffe349368
htao [Thu, 27 Sep 2007 09:29:57 +0000 (09:29 +0000)]
enable -q/-v/-d interface for EfiRom, GenVtf and TianoCompress tool and use the common message interface.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@775
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Thu, 27 Sep 2007 08:51:03 +0000 (08:51 +0000)]
Fix typo for 'SectList'.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@774
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Thu, 27 Sep 2007 08:11:25 +0000 (08:11 +0000)]
a. Improved spawn mode (multi-thread) build performance
b. Fixed PVCS tracker 551 by removing the EFI_CALLER_ID_GUID macro from AutoGen.h of library module
c. Fixed file dependency searching issue when multi-thread build for a platform with more than on arch.
d. Added --log option to build to support storing log in file
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@773
7335b38e-4728-0410-8992-
fb3ffe349368
lgao4 [Thu, 27 Sep 2007 06:12:38 +0000 (06:12 +0000)]
Fix compiler error.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@772
7335b38e-4728-0410-8992-
fb3ffe349368
lgao4 [Thu, 27 Sep 2007 06:08:54 +0000 (06:08 +0000)]
Add Verbose and Debug message for GenFw, GenSec, GenFfs and GenFv tool. Meanwhile, I also clean common library source code.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@771
7335b38e-4728-0410-8992-
fb3ffe349368
htao [Thu, 27 Sep 2007 05:46:32 +0000 (05:46 +0000)]
add -d and -q interface to GenVtf and TianoCompress tool
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@770
7335b38e-4728-0410-8992-
fb3ffe349368
htao [Thu, 27 Sep 2007 05:41:48 +0000 (05:41 +0000)]
put function prototype and variable definition in EfiRom.h file.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@769
7335b38e-4728-0410-8992-
fb3ffe349368
htao [Thu, 27 Sep 2007 05:40:54 +0000 (05:40 +0000)]
put funtion prototype and variable definition in EfiRom.h file.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@768
7335b38e-4728-0410-8992-
fb3ffe349368
htao [Thu, 27 Sep 2007 05:14:01 +0000 (05:14 +0000)]
update tool interface to sync the users guide.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@767
7335b38e-4728-0410-8992-
fb3ffe349368
klu2 [Thu, 27 Sep 2007 04:57:16 +0000 (04:57 +0000)]
Modify Peim's entry point
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@766
7335b38e-4728-0410-8992-
fb3ffe349368
htao [Thu, 27 Sep 2007 03:53:27 +0000 (03:53 +0000)]
add fpd2dsc.py to fpd2dsc.exe build in toolsetup.bat and fix a bug in StoreDsc.py to store the libraryClass section correctly.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@765
7335b38e-4728-0410-8992-
fb3ffe349368
hche10x [Thu, 27 Sep 2007 02:53:54 +0000 (02:53 +0000)]
1. Display both Guid and Name of PCD in error message when the PCD is not found in any platform or package
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@764
7335b38e-4728-0410-8992-
fb3ffe349368
htao [Thu, 27 Sep 2007 02:24:12 +0000 (02:24 +0000)]
code update to latest DSC spec and add section header in the output DSC file.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@763
7335b38e-4728-0410-8992-
fb3ffe349368