jwang36 [Fri, 30 Nov 2007 07:20:37 +0000 (07:20 +0000)]
Added code to check if FvDir exists or not because open() won't create file if the directory doesn't exist.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@895
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Fri, 30 Nov 2007 07:04:55 +0000 (07:04 +0000)]
Fixed an issue which will cause wrong library instances used for constructor re-ordering.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@894
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Fri, 30 Nov 2007 00:43:55 +0000 (00:43 +0000)]
modified BaseTools/Source/C/Common/CommonLib.c
modified BaseTools/Source/C/Common/CommonLib.h
modified BaseTools/Source/C/Common/GNUmakefile
modified BaseTools/Source/C/Common/Makefile
added BaseTools/Source/C/Common/OsPath.c
added BaseTools/Source/C/Common/OsPath.h
Moved function: DoesFileExist to OsPath.c and renamed to OsPathExists
Added OsPath.c/OsPath.h for functions related to filename paths.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@893
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Fri, 30 Nov 2007 00:31:31 +0000 (00:31 +0000)]
modified BaseTools/Source/C/Common/CommonLib.c
modified BaseTools/Source/C/Common/CommonLib.h
Added function: DoesFileExist
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@892
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Thu, 29 Nov 2007 21:49:25 +0000 (21:49 +0000)]
modified BaseTools/Source/C/Common/GNUmakefile
modified BaseTools/Source/C/Common/Makefile
added BaseTools/Source/C/Common/ParseGuidedSectionTools.c
added BaseTools/Source/C/Common/ParseGuidedSectionTools.h
Added functions to parse GuidedSectionTools.txt which is
generated by the build(.exe) tool in the FV output directory.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@891
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Thu, 29 Nov 2007 19:05:21 +0000 (19:05 +0000)]
modified BaseTools/Source/C/Common/GNUmakefile
modified BaseTools/Source/C/Common/Makefile
added BaseTools/Source/C/Common/StringFuncs.c
added BaseTools/Source/C/Common/StringFuncs.h
Added 'string functions' including the ability to have an
easy to work with 'string list'.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@890
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Thu, 29 Nov 2007 18:31:19 +0000 (18:31 +0000)]
modified BaseTools/Source/C/Common/GNUmakefile
modified BaseTools/Source/C/Common/Makefile
added BaseTools/Source/C/Common/MemoryFile.c
added BaseTools/Source/C/Common/MemoryFile.h
modified BaseTools/Source/C/Common/ParseInf.h
Separated 'memory file' routines out into separate files.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@889
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Thu, 29 Nov 2007 17:52:22 +0000 (17:52 +0000)]
BaseTools/Source/Python/build/build.py:
Generate GuidedSectionTools.txt as a sibling to the
firmware volumes files. This file will concisely list
which tools can be used to decode guided sections
within the firmware volume.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@888
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Thu, 29 Nov 2007 00:00:04 +0000 (00:00 +0000)]
BaseTools/Source/C/Common/CommonLib.c:
BaseTools/Source/C/Common/CommonLib.h:
Added PutFileImage function to CommonLib. This helper
function makes it very simple to write out a binary
file. It is very similar to the GetFileImage function,
except it writes the file rather than reading it.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@887
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Wed, 28 Nov 2007 00:14:52 +0000 (00:14 +0000)]
Removed conflicting '-d' option for setting the debug level. The '--debug' form of the same option can still be used.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@886
7335b38e-4728-0410-8992-
fb3ffe349368
hche10x [Tue, 27 Nov 2007 05:32:43 +0000 (05:32 +0000)]
Check in config.ini used in ECC tool
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@885
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Tue, 27 Nov 2007 03:50:59 +0000 (03:50 +0000)]
initial C file content recognizer generated by ANTLR using C.g; but Fail to recognize some MACRO wrapped statement now.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@884
7335b38e-4728-0410-8992-
fb3ffe349368
qhuang8 [Thu, 22 Nov 2007 06:09:46 +0000 (06:09 +0000)]
Clean up: update "EFI" to "UEFI" if applicable.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@883
7335b38e-4728-0410-8992-
fb3ffe349368
lgao4 [Wed, 21 Nov 2007 06:01:24 +0000 (06:01 +0000)]
Update comments info to tell user set PATH.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@882
7335b38e-4728-0410-8992-
fb3ffe349368
lgao4 [Wed, 21 Nov 2007 05:51:43 +0000 (05:51 +0000)]
check BASE_TOOLS_PATH
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@881
7335b38e-4728-0410-8992-
fb3ffe349368
lgao4 [Wed, 21 Nov 2007 05:46:05 +0000 (05:46 +0000)]
Add Variable Header and WorkingBlockHeader definition.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@880
7335b38e-4728-0410-8992-
fb3ffe349368
lgao4 [Wed, 21 Nov 2007 03:34:30 +0000 (03:34 +0000)]
Add GenCrc32 tool, and Update GenFfs tool to add alignment for TeSection.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@879
7335b38e-4728-0410-8992-
fb3ffe349368
lgao4 [Mon, 19 Nov 2007 08:54:20 +0000 (08:54 +0000)]
Add back up VfrCompile tool in main Makefile
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@878
7335b38e-4728-0410-8992-
fb3ffe349368
lgao4 [Mon, 19 Nov 2007 08:37:18 +0000 (08:37 +0000)]
Minor change for GenFv to support capsule attribute, GenSec to support guid header size and GenFw to process microcode.txt
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@877
7335b38e-4728-0410-8992-
fb3ffe349368
lhauch [Wed, 14 Nov 2007 19:39:21 +0000 (19:39 +0000)]
Revised error message for a module that is not required by a Platform when building just the module
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@876
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Tue, 13 Nov 2007 17:23:24 +0000 (17:23 +0000)]
Port r869 Makefile change to GNUmakefile.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@875
7335b38e-4728-0410-8992-
fb3ffe349368
hche10x [Thu, 8 Nov 2007 05:21:28 +0000 (05:21 +0000)]
1. Remove "/" or "\" following $(WORKSPACE) before getting real path when parsing DSC files
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@874
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Thu, 8 Nov 2007 03:51:33 +0000 (03:51 +0000)]
Changed the position of MAKE* macros in platform's makefile
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@873
7335b38e-4728-0410-8992-
fb3ffe349368
jwang36 [Thu, 8 Nov 2007 03:14:32 +0000 (03:14 +0000)]
Added "MAKE_FILE" macro in platform and module's makefile
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@872
7335b38e-4728-0410-8992-
fb3ffe349368
lgao4 [Wed, 7 Nov 2007 07:50:03 +0000 (07:50 +0000)]
Fix bug to use local variable without init value.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@871
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Wed, 7 Nov 2007 05:51:01 +0000 (05:51 +0000)]
copy .map file to output directory for the file which is used to generate section in FILE statement.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@870
7335b38e-4728-0410-8992-
fb3ffe349368
lgao4 [Tue, 6 Nov 2007 11:16:36 +0000 (11:16 +0000)]
Update GenFv, GenFw and GenVtf tool to support reloc section stripped, PAD file with same guid and check no duplicated guid file in the same fv.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@869
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Tue, 6 Nov 2007 09:18:48 +0000 (09:18 +0000)]
change file name extension before relocation strip from .reloc to .efi; after relocation strip from .stipped to stripped.
Fix bug in FDF parser for GetNextToken and UndoToken.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@868
7335b38e-4728-0410-8992-
fb3ffe349368
jlin16 [Mon, 5 Nov 2007 08:19:44 +0000 (08:19 +0000)]
Detect region out of order or overlap.
Add relocation section strip feature (need GenFw.exe update).
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@867
7335b38e-4728-0410-8992-
fb3ffe349368
jljusten [Thu, 1 Nov 2007 22:58:47 +0000 (22:58 +0000)]
Revert changes from r860 for makefiles that are only used
by the GNU toolchain.
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@866
7335b38e-4728-0410-8992-
fb3ffe349368
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