people/mcb30/basetools.git
12 years ago1. Update Dsc table for the library instance defined component section
hche10x [Thu, 27 Mar 2008 09:04:21 +0000 (09:04 +0000)]
1. Update Dsc table for the library instance defined component section
2. Enable checkpoints of library instance of meta-data check

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1088 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Enable naming convention check for #ifndef/#define/typedef statement
hche10x [Tue, 25 Mar 2008 05:54:39 +0000 (05:54 +0000)]
1. Enable naming convention check for #ifndef/#define/typedef statement

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1087 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: predicate expression and data declaration checking initial check-in.
jlin16 [Mon, 24 Mar 2008 09:36:16 +0000 (09:36 +0000)]
ECC: predicate expression and data declaration checking initial check-in.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1086 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Enable naming check of path/function/variable names.
hche10x [Mon, 24 Mar 2008 09:30:14 +0000 (09:30 +0000)]
1. Enable naming check of path/function/variable names.
2. Add a function to get include path list for a source file.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1085 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: include file check feature added.
jlin16 [Fri, 21 Mar 2008 11:23:40 +0000 (11:23 +0000)]
ECC: include file check feature added.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1084 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: Doxygen command and file comment description check initial check-in.
jlin16 [Thu, 20 Mar 2008 08:58:46 +0000 (08:58 +0000)]
ECC: Doxygen command and file comment description check initial check-in.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1083 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Remove the ECC.db from .\Database, the file is move to the root directory of Ecc...
hche10x [Thu, 20 Mar 2008 05:53:39 +0000 (05:53 +0000)]
1. Remove the ECC.db from .\Database, the file is move to the root directory of Ecc tool
2. Fix a Ecc Tool Error number issue
3. Enable a new error report format for file error.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1082 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed spelling and grammar.
lhauch [Wed, 19 Mar 2008 17:17:44 +0000 (17:17 +0000)]
Fixed spelling and grammar.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1081 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoCorrect Error Message according to Tool design spec.
lgao4 [Wed, 19 Mar 2008 09:16:22 +0000 (09:16 +0000)]
Correct Error Message according to Tool design spec.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1080 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: fix the new line missing in comment; fix the argument name missing in doxygen...
jlin16 [Wed, 19 Mar 2008 09:15:12 +0000 (09:15 +0000)]
ECC: fix the new line missing in comment; fix the argument name missing in doxygen tag.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1079 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed a typo
jwang36 [Wed, 19 Mar 2008 02:49:01 +0000 (02:49 +0000)]
Fixed a typo

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1078 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoAdded import of BuildToolError for EdkLogger
jwang36 [Wed, 19 Mar 2008 02:46:31 +0000 (02:46 +0000)]
Added import of BuildToolError for EdkLogger

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1077 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed non-ascii characters issue when calling Cursor.fetchall() and unified some...
jwang36 [Wed, 19 Mar 2008 02:38:53 +0000 (02:38 +0000)]
Fixed non-ascii characters issue when calling Cursor.fetchall() and unified some screen message

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1076 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: use report table to record error msg when Doxygen func header comment checking.
jlin16 [Tue, 18 Mar 2008 08:58:28 +0000 (08:58 +0000)]
ECC: use report table to record error msg when Doxygen func header comment checking.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1075 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Move Ecc database from .\Database\Ecc.db to .\Ecc.db
hche10x [Tue, 18 Mar 2008 02:08:32 +0000 (02:08 +0000)]
1. Move Ecc database from .\Database\Ecc.db to .\Ecc.db
2. Option parser rule adjust: With option "-k", all tables in database will not be changed except table Report

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1074 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC remove more parameter for string to print; add PCCTS to ignore list.
jlin16 [Mon, 17 Mar 2008 08:34:44 +0000 (08:34 +0000)]
ECC remove more parameter for string to print; add PCCTS to ignore list.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1073 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Add an option to keep old database when start ecc tool
hche10x [Mon, 17 Mar 2008 08:09:57 +0000 (08:09 +0000)]
1. Add an option to keep old database when start ecc tool
2. Enable binary module checkpoints in Fdf file.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1072 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: integrate Doxygen func header checking into ECC main.
jlin16 [Mon, 17 Mar 2008 07:12:02 +0000 (07:12 +0000)]
ECC: integrate Doxygen func header checking into ECC main.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1071 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoChanged StrGather behavior to be more R8 like
jwang36 [Mon, 17 Mar 2008 05:52:41 +0000 (05:52 +0000)]
Changed StrGather behavior to be more R8 like

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1070 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoInitial the local variable of "File". Otherwise, the parser errors will escalate...
qhuang8 [Fri, 14 Mar 2008 08:54:31 +0000 (08:54 +0000)]
Initial the local variable of "File". Otherwise, the parser errors will escalate to be a python syntax error.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1069 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Enable checkpoint for Pcd of Fdf
hche10x [Fri, 14 Mar 2008 06:56:20 +0000 (06:56 +0000)]
1. Enable checkpoint for Pcd of Fdf
2. Enable connect to database without init

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1068 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: add (file, line) information to a dict for PCD and a list for INF in FDF parser.
jlin16 [Fri, 14 Mar 2008 02:18:13 +0000 (02:18 +0000)]
ECC: add (file, line) information to a dict for PCD and a list for INF in FDF parser.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1067 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoAdded "extern int __make_me_compile_correctly;" for R8 modules because the AutoGen...
jwang36 [Thu, 13 Mar 2008 09:02:09 +0000 (09:02 +0000)]
Added "extern int __make_me_compile_correctly;" for R8 modules because the AutoGen.c may be empty.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1066 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Rename FdfClassObject.py to FdfClass.py
hche10x [Thu, 13 Mar 2008 08:37:22 +0000 (08:37 +0000)]
1. Rename FdfClassObject.py to FdfClass.py

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1065 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: add FDF parser to get INF list and PCD dict.
jlin16 [Thu, 13 Mar 2008 06:37:50 +0000 (06:37 +0000)]
ECC: add FDF parser to get INF list and PCD dict.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1064 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed error messages
jwang36 [Thu, 13 Mar 2008 06:36:08 +0000 (06:36 +0000)]
Fixed error messages

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1063 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1.Enable part of pcd Checkpoints
hche10x [Thu, 13 Mar 2008 06:27:05 +0000 (06:27 +0000)]
1.Enable part of pcd Checkpoints
2.Fix some bugs in guid/protocol/ppi checkpoints

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1062 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed incorrect error number and added necessary error checks
jwang36 [Thu, 13 Mar 2008 03:20:22 +0000 (03:20 +0000)]
Fixed incorrect error number and added necessary error checks

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1061 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: Doxygen comment check initial check-in.
jlin16 [Wed, 12 Mar 2008 09:26:36 +0000 (09:26 +0000)]
ECC: Doxygen comment check initial check-in.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1060 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoRemoved "-u" option of 'CP' command because Mac doesn't support it
jwang36 [Wed, 12 Mar 2008 09:16:42 +0000 (09:16 +0000)]
Removed "-u" option of 'CP' command because Mac doesn't support it

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1059 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Add a switch to enable/disable error raise for EdkLogger
hche10x [Wed, 12 Mar 2008 09:11:19 +0000 (09:11 +0000)]
1. Add a switch to enable/disable error raise for EdkLogger

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1058 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Finish duplicate name and value of guid/protocol/ppi check for ECC tool
hche10x [Wed, 12 Mar 2008 08:30:48 +0000 (08:30 +0000)]
1. Finish duplicate name and value of guid/protocol/ppi check for ECC tool
2. Combine multiple INF/DEC/DSC tables to three big tables
3. Fix some bugs in Configuration parsing

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1057 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Add some interfaces for ECC tool in DEC/INF/DSC parser
hche10x [Tue, 11 Mar 2008 09:12:56 +0000 (09:12 +0000)]
1. Add some interfaces for ECC tool in DEC/INF/DSC parser
2. Fix some bugs in TableReport

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1056 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Add a table class for report
hche10x [Tue, 11 Mar 2008 05:46:23 +0000 (05:46 +0000)]
1. Add a table class for report
2. Add a class for ecc tool error code
3. Adjust the database init statement in ecc main entrance
4. Fix some invalid chars in config.ini

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1055 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: add data model for function declaration; Not pick out function paramter list...
jlin16 [Mon, 10 Mar 2008 07:56:59 +0000 (07:56 +0000)]
ECC: add data model for function declaration; Not pick out function paramter list during DB creation after scanning source code.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1054 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed some typos
jwang36 [Mon, 10 Mar 2008 01:43:20 +0000 (01:43 +0000)]
Fixed some typos

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1053 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/Source/Python/AutoGen/GenMake.py:
jljusten [Fri, 7 Mar 2008 22:58:18 +0000 (22:58 +0000)]
BaseTools/Source/Python/AutoGen/GenMake.py:
  Removed debug code.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1052 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/Source/Python/AutoGen/GenMake.py:
jljusten [Fri, 7 Mar 2008 22:54:29 +0000 (22:54 +0000)]
BaseTools/Source/Python/AutoGen/GenMake.py:
  Change to use a syntax compatible with both nmake and gnu make.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1051 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Remove unused file
hche10x [Fri, 7 Mar 2008 09:20:54 +0000 (09:20 +0000)]
1. Remove unused file

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1050 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Establish ECC progress
hche10x [Fri, 7 Mar 2008 09:20:13 +0000 (09:20 +0000)]
1. Establish ECC progress
2. Finish ECC main entrance and Configuration parsing

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1049 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC:Add non-Ascii comment process
jlin16 [Fri, 7 Mar 2008 07:15:35 +0000 (07:15 +0000)]
ECC:Add non-Ascii comment process

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1048 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Fix a bug when init the database
hche10x [Thu, 6 Mar 2008 09:00:29 +0000 (09:00 +0000)]
1. Fix a bug when init the database

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1047 7335b38e-4728-0410-8992-fb3ffe349368

12 years agomove test code in c.py to a function interface CollectSourceCodeDataIntoDB
jlin16 [Thu, 6 Mar 2008 08:52:47 +0000 (08:52 +0000)]
move test code in c.py to a function interface CollectSourceCodeDataIntoDB

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1046 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Fix tracker 200972
hche10x [Tue, 4 Mar 2008 06:18:41 +0000 (06:18 +0000)]
1. Fix tracker 200972
2. Add a switch in DEC/INF/DSC parser to decide whether update the records of database.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1044 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoRemoved a line of code which might cause file access error
jwang36 [Tue, 4 Mar 2008 01:37:31 +0000 (01:37 +0000)]
Removed a line of code which might cause file access error

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1043 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoChanged some deprecated uses on error handling
jwang36 [Mon, 3 Mar 2008 03:04:52 +0000 (03:04 +0000)]
Changed some deprecated uses on error handling

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1042 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Add a feature to support handling R8's comment style.
hche10x [Fri, 29 Feb 2008 06:59:19 +0000 (06:59 +0000)]
1. Add a feature to support handling R8's comment style.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1038 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Fix trackers 200741, 200898, 200917, 200925, 200945, 200947, 200949
hche10x [Fri, 29 Feb 2008 05:56:20 +0000 (05:56 +0000)]
1. Fix trackers 200741, 200898, 200917, 200925, 200945, 200947, 200949
2. Ignore the situation for section like [--any words] which is used in R8

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1037 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/README.txt:
jljusten [Fri, 29 Feb 2008 01:12:37 +0000 (01:12 +0000)]
BaseTools/README.txt:
  Some documentation for building the BaseTools project.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1036 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/Source/C/VfrCompile/GNUmakefile:
jljusten [Fri, 29 Feb 2008 00:38:20 +0000 (00:38 +0000)]
BaseTools/Source/C/VfrCompile/GNUmakefile:
BaseTools/Source/C/VfrCompile/VfrSyntax.g:
BaseTools/Source/C/VfrCompile/VfrUtilityLib.h:
  Fixes for building on Linux.  Also tested on VS2005.NET.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1035 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/gcc/README.txt:
jljusten [Thu, 28 Feb 2008 23:50:52 +0000 (23:50 +0000)]
BaseTools/gcc/README.txt:
  Updated gcc cross compiler build script documentation.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1034 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/Source/Python/AutoGen/GenMake.py:
jljusten [Thu, 28 Feb 2008 18:33:43 +0000 (18:33 +0000)]
BaseTools/Source/Python/AutoGen/GenMake.py:
  Added $(LIB_LIST) to LIBS which causes binary
  libraries specified in the module's .inf file
  to be included during the module link step.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1033 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoRemoved existing file before copy which would speed up the file copy a little bit
jwang36 [Thu, 28 Feb 2008 12:52:37 +0000 (12:52 +0000)]
Removed existing file before copy which would speed up the file copy a little bit

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1032 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoUsed database in memory instead, temporarily, because McAfee will slow down the...
jwang36 [Thu, 28 Feb 2008 09:45:17 +0000 (09:45 +0000)]
Used database in memory instead, temporarily, because  McAfee will slow down the performance if use database in file.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1031 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed GenDepex issue
jwang36 [Thu, 28 Feb 2008 09:41:22 +0000 (09:41 +0000)]
Fixed GenDepex issue

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1030 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Improve the performance of INF Parsing
hche10x [Thu, 28 Feb 2008 09:04:39 +0000 (09:04 +0000)]
1. Improve the performance of INF Parsing
2. Add FeatureFlag for Package/Guid/Ppi/Protocol of Inf
3. Clean code to remove unused lines
4. Optimize some functions

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1029 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoAdapt to new build database change for GenFds
jlin16 [Thu, 28 Feb 2008 08:43:33 +0000 (08:43 +0000)]
Adapt to new build database change for GenFds

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1028 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoEnabled depex optimization in AutoGen
jwang36 [Thu, 28 Feb 2008 07:19:53 +0000 (07:19 +0000)]
Enabled depex optimization in AutoGen

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1027 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoAdd input parameter check and guid format strict check.
lgao4 [Thu, 28 Feb 2008 07:10:34 +0000 (07:10 +0000)]
Add input parameter check and guid format strict check.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1026 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed HDS tracker 200760: Gendepex tool should handle merging of GUID in the final...
jwang36 [Thu, 28 Feb 2008 06:50:15 +0000 (06:50 +0000)]
Fixed HDS tracker 200760: Gendepex tool should handle merging of GUID in the final bianry

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1025 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFix the following issues:
qhuang8 [Thu, 28 Feb 2008 06:24:17 +0000 (06:24 +0000)]
Fix the following issues:
1. Vfr compiler cannot handle #pragma pack(push, 1) well.
2. VfrCompiler should report error for the unsupported format e.g.option text = STRING_TOKEN(STR_DISABLE), ..., key = 1;
3. VfrCompiler error messages are unclear for referencing undefined Q ID

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1024 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed an issue in binary file support
jwang36 [Thu, 28 Feb 2008 05:58:44 +0000 (05:58 +0000)]
Fixed an issue in binary file support

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1023 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Add Database supporting for INF/DEC/DSC in building which can be used by ECC tool.
hche10x [Wed, 27 Feb 2008 07:56:24 +0000 (07:56 +0000)]
1. Add Database supporting for INF/DEC/DSC in building which can be used by ECC tool.
2. Add conditional statement supporting of DSC as the latest specification
3. Improve the performance of database operations of ECC tool
4. Adjust the structure of INF/DEC/DSC class objects to support multiple ARCH of defines

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1022 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoUsed class member "level" to replace class method getEffectiveLevel(), which will...
jwang36 [Wed, 27 Feb 2008 06:58:03 +0000 (06:58 +0000)]
Used class member "level" to replace class method getEffectiveLevel(), which will get a little bit performance improvement.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1021 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed following bugs:
jwang36 [Wed, 27 Feb 2008 03:28:45 +0000 (03:28 +0000)]
Fixed following bugs:
    HSD200899: Passed " error" should be marked
    HSD200901: Single Module build cleanall does not remove the generated efi file outside of module directory
    HSD200904: Build cleanall does not clean the files under build directory
    HSD200927: DSC OUTPUT_DIRECTORY absolute path is not supported

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1020 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/Source/C/VfrCompile/VfrCompiler.cpp:
jljusten [Tue, 26 Feb 2008 00:34:56 +0000 (00:34 +0000)]
BaseTools/Source/C/VfrCompile/VfrCompiler.cpp:
  Improve support for file paths which use the forward slash (/).

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1019 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoChanged the command line options
jwang36 [Mon, 25 Feb 2008 07:15:25 +0000 (07:15 +0000)]
Changed the command line options

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1018 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoUsed IterableUserDict to replace internal dict as sdict's super class, because pickle...
jwang36 [Mon, 25 Feb 2008 03:10:54 +0000 (03:10 +0000)]
Used IterableUserDict to replace internal dict as sdict's super class, because pickle has problem with dict when loading.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1017 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoAdded code to flush stdout after "print" in Processor class
jwang36 [Mon, 25 Feb 2008 01:49:30 +0000 (01:49 +0000)]
Added code to flush stdout after "print" in Processor class

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1016 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoUpdated the file to build tools from BASE_TOOLS_PATH and install them in the EDK_TOOL...
lhauch [Thu, 21 Feb 2008 23:43:15 +0000 (23:43 +0000)]
Updated the file to build tools from BASE_TOOLS_PATH and install them in the EDK_TOOLS_PATH\Bin\Win32 folder, other changes included implementing ForceRebuild, Rebuild and Reconfig.
Lots of tests for correctness have been added.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1015 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoUpdate makefiles to put executables in $(EDK_TOOLS_PATH)\Bin\Win32 directory.
lhauch [Thu, 21 Feb 2008 23:37:54 +0000 (23:37 +0000)]
Update makefiles to put executables in $(EDK_TOOLS_PATH)\Bin\Win32 directory.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1014 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/Source/C/VfrCompile/VfrFormPkg.cpp:
jljusten [Thu, 21 Feb 2008 23:15:28 +0000 (23:15 +0000)]
BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp:
BaseTools/Source/C/VfrCompile/GNUmakefile:
BaseTools/Source/C/VfrCompile/VfrError.cpp:
BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp:
BaseTools/Source/C/VfrCompile/VfrFormPkg.h:
BaseTools/Source/C/VfrCompile/VfrCompiler.cpp:
BaseTools/Source/C/VfrCompile/VfrSyntax.g:
BaseTools/Source/C/VfrCompile/VfrError.h:
BaseTools/Source/C/VfrCompile/VfrCompiler.h:
BaseTools/Source/C/VfrCompile/VfrUtilityLib.h:
  Updates to build with gcc on Linux.  Mostly changing
  usages of INT8 to CHAR8 in string related contexts.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1013 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/Source/C/VfrCompile/Makefile:
jljusten [Thu, 21 Feb 2008 22:36:24 +0000 (22:36 +0000)]
BaseTools/Source/C/VfrCompile/Makefile:
  Fix build/clean for visual studio based builds.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1012 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoStandardized the command line options.
jwang36 [Thu, 21 Feb 2008 00:48:17 +0000 (00:48 +0000)]
Standardized the command line options.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1011 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoMade VfrCompile buildable in BaseTools source tree
jwang36 [Wed, 20 Feb 2008 09:09:42 +0000 (09:09 +0000)]
Made VfrCompile buildable in BaseTools source tree

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1010 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoMerged UEFI support from R8 tree
jwang36 [Wed, 20 Feb 2008 07:32:26 +0000 (07:32 +0000)]
Merged UEFI support from R8 tree

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1009 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Fix a bug when supporting parsing multiple lines of one string
hche10x [Wed, 20 Feb 2008 03:29:52 +0000 (03:29 +0000)]
1. Fix a bug when supporting parsing multiple lines of one string

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1008 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoa. Added binary file support during AutoGen
jwang36 [Tue, 19 Feb 2008 05:58:18 +0000 (05:58 +0000)]
a. Added binary file support during AutoGen
b. Removed "extern int __make_me_compile_correctly;" from AutoGen.h
c. Added BUILD_RULE_CONF in target.txt to specify build rules file

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1007 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoRemoved the print statement for debug
jwang36 [Mon, 18 Feb 2008 05:56:15 +0000 (05:56 +0000)]
Removed the print statement for debug

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1006 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed several GenDepex bugs
jwang36 [Mon, 18 Feb 2008 05:47:53 +0000 (05:47 +0000)]
Fixed several GenDepex bugs

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1005 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoDisabled output when building build database, which would confuse users of GenFds.
jwang36 [Fri, 15 Feb 2008 07:38:47 +0000 (07:38 +0000)]
Disabled output when building build database, which would confuse users of GenFds.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1004 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoAdded calling of remove() before fopen() when creating file. This will speed up file...
jwang36 [Fri, 15 Feb 2008 07:35:59 +0000 (07:35 +0000)]
Added calling of remove() before fopen() when creating file. This will speed up file creation quite a lot if the file exists.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1003 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/BinWrappers/PosixLike/RunBinToolFromBuildDir:
jljusten [Thu, 14 Feb 2008 01:38:52 +0000 (01:38 +0000)]
BaseTools/BinWrappers/PosixLike/RunBinToolFromBuildDir:
  Missed changing one line to use $EDK_TOOLS_PATH.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1002 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/BinWrappers/PosixLike/RunBinToolFromBuildDir:
jljusten [Thu, 14 Feb 2008 01:35:23 +0000 (01:35 +0000)]
BaseTools/BinWrappers/PosixLike/RunBinToolFromBuildDir:
  Modified the wrapper to utilize the EDK_TOOLS_PATH environment
  variable to recognize the BaseTools source tree.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1001 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoDocumentation for the VolInfo utility.
jljusten [Wed, 13 Feb 2008 23:25:31 +0000 (23:25 +0000)]
Documentation for the VolInfo utility.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1000 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoRenaming BaseTools/PseudoBin to BaseTools/BinWrappers.
jljusten [Wed, 13 Feb 2008 22:44:45 +0000 (22:44 +0000)]
Renaming BaseTools/PseudoBin to BaseTools/BinWrappers.

This change requires an update in the edk2/BaseTools directory
as well.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@999 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/PseudoBin/PosixLike/VfrCompile:
jljusten [Tue, 12 Feb 2008 22:51:06 +0000 (22:51 +0000)]
BaseTools/PseudoBin/PosixLike/VfrCompile:
  Adding support for the VFR Compiler.

BaseTools/PseudoBin/Linux-i686:
BaseTools/PseudoBin/Linux-x86_64:
  Adding support for easy build environment
  initialization under Linux.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@998 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/Source/Python/Common/InfClassObject.py:
jljusten [Mon, 11 Feb 2008 22:17:25 +0000 (22:17 +0000)]
BaseTools/Source/Python/Common/InfClassObject.py:
  Convert backslashes (\) found in .inf files to forward
  slashes (/).  The python os.path.normpath does not do
  this convertion (only the reverse, and only if on
  Windows).

  Without this change, a .inf file using backslashes will
  not build under Linux.

  It should be noted that it is still recommend that .inf
  files utilize forward slashes for paths, rather than
  backslashes.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@997 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoBaseTools/gcc/x86_64-mingw-gcc-build.py:
jljusten [Fri, 8 Feb 2008 23:34:47 +0000 (23:34 +0000)]
BaseTools/gcc/x86_64-mingw-gcc-build.py:
  Added new (smarter?) script to assist with building
  x64 gcc compiler.

BaseTools/gcc svn:ignore
  Added * to ignore list.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@996 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoFixed variable access issue
jwang36 [Fri, 1 Feb 2008 03:08:01 +0000 (03:08 +0000)]
Fixed variable access issue

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@995 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: CParser add 'EFIAPI' as function modifier.
jlin16 [Wed, 30 Jan 2008 06:29:59 +0000 (06:29 +0000)]
ECC: CParser add 'EFIAPI' as function modifier.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@994 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Remove the statement of setting each table's ID from init function, this is confli...
hche10x [Wed, 30 Jan 2008 05:59:11 +0000 (05:59 +0000)]
1. Remove the statement of setting each table's ID from init function, this is conflict when no table exists

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@993 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: C preprocessor only wipe off '\' concatenated macro defines.
jlin16 [Wed, 30 Jan 2008 02:38:23 +0000 (02:38 +0000)]
ECC: C preprocessor only wipe off '\' concatenated macro defines.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@992 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: ignore restricted packages and not wipe off comments in c files.
jlin16 [Tue, 29 Jan 2008 11:04:51 +0000 (11:04 +0000)]
ECC: ignore restricted packages and not wipe off comments in c files.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@991 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: CParser add DEBUG macro parsing.
jlin16 [Tue, 29 Jan 2008 11:02:54 +0000 (11:02 +0000)]
ECC: CParser add DEBUG macro parsing.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@990 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoAdded code to check if 'COMMON' in result of parsed sections.
jwang36 [Tue, 29 Jan 2008 09:52:04 +0000 (09:52 +0000)]
Added code to check if 'COMMON' in result of parsed sections.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@989 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoAdded code to check if 'COMMON' in result of parsed sections.
jwang36 [Tue, 29 Jan 2008 09:03:07 +0000 (09:03 +0000)]
Added code to check if 'COMMON' in result of parsed sections.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@988 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Remove unnecessary output information when insert operation.
hche10x [Tue, 29 Jan 2008 06:41:08 +0000 (06:41 +0000)]
1. Remove unnecessary output information when insert operation.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@987 7335b38e-4728-0410-8992-fb3ffe349368

12 years agoECC: CParser add modifiers following data types.
jlin16 [Tue, 29 Jan 2008 06:29:58 +0000 (06:29 +0000)]
ECC: CParser add modifiers following data types.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@986 7335b38e-4728-0410-8992-fb3ffe349368

12 years ago1. Adjust the function of "GenerateID" of each table, use a global variable to store...
hche10x [Tue, 29 Jan 2008 06:22:39 +0000 (06:22 +0000)]
1. Adjust the function of "GenerateID" of each table, use a global variable to store the value but not query from table each time.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@985 7335b38e-4728-0410-8992-fb3ffe349368