efi/basetools/.git
12 years agoEnchance the VfrCompiler error handling.
qhuang8 [Thu, 9 Apr 2009 02:57:18 +0000 (02:57 +0000)]
Enchance the VfrCompiler error handling.

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

12 years agoupdate GenFw to zero time and debug data when -z option input
lgao4 [Wed, 8 Apr 2009 09:08:54 +0000 (09:08 +0000)]
update GenFw to zero time and debug data when -z option input

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

12 years agoMerge Patch.
lgao4 [Wed, 8 Apr 2009 08:11:15 +0000 (08:11 +0000)]
Merge Patch.

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

12 years agoUpdated from edk2
jwang36 [Wed, 8 Apr 2009 03:24:52 +0000 (03:24 +0000)]
Updated from edk2

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

12 years agoFixed inf object error if inf file name with extension other than ".inf" all in lower...
jwang36 [Tue, 31 Mar 2009 15:33:33 +0000 (15:33 +0000)]
Fixed inf object error if inf file name with extension other than ".inf" all in lower case.

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

12 years agoa. Fixed an issue in which RealPath() returns None if WORKSPACE root was passed in
jwang36 [Tue, 31 Mar 2009 09:28:53 +0000 (09:28 +0000)]
a. Fixed an issue in which RealPath() returns None if WORKSPACE root was passed in
b. Check MODULE_TYPE and COMPONENT_TYPE to be defined

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

12 years agoFixed PCD database error
jwang36 [Mon, 30 Mar 2009 12:45:10 +0000 (12:45 +0000)]
Fixed PCD database error

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

12 years agoSearch framework database file at the $(WORKSPACE)/Conf directory
qhuang8 [Mon, 30 Mar 2009 09:27:31 +0000 (09:27 +0000)]
Search framework database file at the $(WORKSPACE)/Conf directory

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

12 years agoEnhance MigrationMsa2Inf to support extract the GUID value from DEC files. It can...
qhuang8 [Mon, 30 Mar 2009 06:40:05 +0000 (06:40 +0000)]
Enhance MigrationMsa2Inf to support extract the GUID value from DEC files. It can also extract the GUID value from XML syntax package files, SPD or NSPD.

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

12 years agoAdd a bit more accurate description
jwang36 [Thu, 26 Mar 2009 15:34:57 +0000 (15:34 +0000)]
Add a bit more accurate description

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

12 years agoAdded description for sqlite3 module issue.
jwang36 [Thu, 26 Mar 2009 15:32:39 +0000 (15:32 +0000)]
Added description for sqlite3 module issue.

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

12 years agoChange the way to call PathClass.Validate() because of additional return value added.
jwang36 [Thu, 26 Mar 2009 15:10:13 +0000 (15:10 +0000)]
Change the way to call PathClass.Validate() because of additional return value added.

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

12 years agoa. Show correct and bad file path when file name case is wrong
jwang36 [Thu, 26 Mar 2009 15:00:20 +0000 (15:00 +0000)]
a. Show correct and bad file path when file name case is wrong
b. Remove the "_FLAGS" check in meta file parser

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

12 years agoGenFds: clarified support for PCD specified file GUID in byte array; enhance warning...
jlin16 [Wed, 25 Mar 2009 07:29:37 +0000 (07:29 +0000)]
GenFds: clarified support for PCD specified file GUID in byte array; enhance warning message for case-sensitive file path.

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

12 years agoAdd GnuGenBootSector build rule.
qhuang8 [Tue, 24 Mar 2009 09:12:26 +0000 (09:12 +0000)]
Add GnuGenBootSector build rule.

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

12 years agoAdd Linux version of GenBootSector for DuetPkg to generate Boot image.Now only floppy...
qhuang8 [Tue, 24 Mar 2009 09:11:18 +0000 (09:11 +0000)]
Add Linux version of GenBootSector for DuetPkg to generate Boot image.Now only floppy is supported.

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

12 years agoMerge Patch.
lgao4 [Tue, 24 Mar 2009 01:30:58 +0000 (01:30 +0000)]
Merge Patch.

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

12 years agoadd --disable-werror option, because warning break build under default setting in...
klu2 [Mon, 23 Mar 2009 12:25:29 +0000 (12:25 +0000)]
add --disable-werror option, because warning break build under default setting in ubuntu 8.10 distribution

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

12 years agoa. Fixed build break caused by EdkLogger.warning
jwang36 [Thu, 19 Mar 2009 07:28:01 +0000 (07:28 +0000)]
a. Fixed build break caused by EdkLogger.warning
b. Fixed PCD token number generation issue for PCD in library

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

12 years agoUpdate code to fix minor inconsistent data type.
lgao4 [Thu, 19 Mar 2009 01:12:02 +0000 (01:12 +0000)]
Update code to fix minor inconsistent data type.

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

12 years agoGenFds: add support for PCD specified file GUID.
jlin16 [Tue, 17 Mar 2009 09:28:41 +0000 (09:28 +0000)]
GenFds: add support for PCD specified file GUID.

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

12 years agoGenFds: add support for Option ROM generation.
jlin16 [Mon, 16 Mar 2009 10:16:02 +0000 (10:16 +0000)]
GenFds: add support for Option ROM generation.

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

12 years agoAdd 'clean' to Tests/GNUmakefile.
jljusten [Fri, 13 Mar 2009 19:40:34 +0000 (19:40 +0000)]
Add 'clean' to Tests/GNUmakefile.

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

12 years agoAdd BinWrapper links for BootSectImage and VolInfo.
jljusten [Fri, 13 Mar 2009 19:40:30 +0000 (19:40 +0000)]
Add BinWrapper links for BootSectImage and VolInfo.

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

12 years agoAdded a workaround to bypass the error caused by SaveFileToDisk in Common.PyUtility.pyd
jwang36 [Fri, 13 Mar 2009 08:58:31 +0000 (08:58 +0000)]
Added a workaround to bypass the error caused by SaveFileToDisk in Common.PyUtility.pyd

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

12 years agoTry to remove duplicated include path in compiler's option
jwang36 [Thu, 12 Mar 2009 16:30:24 +0000 (16:30 +0000)]
Try to remove duplicated include path in compiler's option

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

12 years agoCorrect some check.
lgao4 [Thu, 12 Mar 2009 16:01:32 +0000 (16:01 +0000)]
Correct some check.

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

12 years agoECC: update FdfParser to support DEFINES section and USE = $(ARCH) inf option.
jlin16 [Wed, 11 Mar 2009 07:40:03 +0000 (07:40 +0000)]
ECC: update FdfParser to support DEFINES section and USE = $(ARCH) inf option.

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

12 years agoECC: update FdfParserLite to support FV name GUID in FDF file.
jlin16 [Wed, 11 Mar 2009 06:32:40 +0000 (06:32 +0000)]
ECC: update FdfParserLite to support FV name GUID in FDF file.

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

12 years agoGenFds: Hide unnecessary log info.
jlin16 [Mon, 9 Mar 2009 03:38:57 +0000 (03:38 +0000)]
GenFds: Hide unnecessary log info.

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

12 years agoModify python based 'build' tools to always return values
jljusten [Fri, 6 Mar 2009 22:59:44 +0000 (22:59 +0000)]
Modify python based 'build' tools to always return values
in the 0 to 127 range, for better compatibility.

Any value outside this range will be mapped to a return
value of 1.

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

12 years agoAdded BootSectImage build support
jwang36 [Fri, 6 Mar 2009 07:49:50 +0000 (07:49 +0000)]
Added BootSectImage build support

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

12 years agoAdded makefile for build by GNU make
jwang36 [Fri, 6 Mar 2009 07:48:58 +0000 (07:48 +0000)]
Added makefile for build by GNU make

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

12 years agoMerged Tristan's patch
jwang36 [Fri, 6 Mar 2009 07:09:50 +0000 (07:09 +0000)]
Merged Tristan's patch

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

12 years agoAdded support of PCD HII Variable name in C style of unicode string.
jwang36 [Thu, 5 Mar 2009 15:44:32 +0000 (15:44 +0000)]
Added support of PCD HII Variable name in C style of unicode string.

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

12 years agoAdd symlinks for Ecc and Split tools.
jljusten [Thu, 5 Mar 2009 00:35:56 +0000 (00:35 +0000)]
Add symlinks for Ecc and Split tools.

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

12 years agoAdd more help text for the options of GenFw tool.
lgao4 [Wed, 4 Mar 2009 14:29:20 +0000 (14:29 +0000)]
Add more help text for the options of GenFw tool.

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

12 years agoMerge Patch to EfiRom tool to fix GCC build warning.
lgao4 [Wed, 4 Mar 2009 07:45:49 +0000 (07:45 +0000)]
Merge Patch to EfiRom tool to fix GCC build warning.

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

12 years agoGenFds: add support for FV name GUID.
jlin16 [Wed, 4 Mar 2009 07:27:11 +0000 (07:27 +0000)]
GenFds: add support for FV name GUID.

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

12 years agoFixed build failure for MSFT toolchain
jwang36 [Mon, 2 Mar 2009 06:22:37 +0000 (06:22 +0000)]
Fixed build failure for MSFT toolchain

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

12 years agoMerged Tristan Gingold's patch
jwang36 [Mon, 2 Mar 2009 06:14:03 +0000 (06:14 +0000)]
Merged Tristan Gingold's patch

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

12 years agoFixed file path issue if the WORKSPACE is the root of a drive.
jwang36 [Mon, 2 Mar 2009 05:49:33 +0000 (05:49 +0000)]
Fixed file path issue if the WORKSPACE is the root of a drive.

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

12 years agoAllow different types PCD declaration in dec file
jwang36 [Sun, 1 Mar 2009 12:48:39 +0000 (12:48 +0000)]
Allow different types PCD declaration in dec file

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

12 years agoFixed compile failure in cygwin
jwang36 [Sat, 28 Feb 2009 17:29:57 +0000 (17:29 +0000)]
Fixed compile failure in cygwin

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

12 years agoAdded quote marks for the reference of $(MAKE) to avoid build failure because of...
jwang36 [Sat, 28 Feb 2009 07:06:51 +0000 (07:06 +0000)]
Added quote marks for the reference of $(MAKE) to avoid build failure because of space in MAKE path.

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

12 years agoAdded the definition of $(MAKE) macro back into top level makefile for the sake of...
jwang36 [Thu, 26 Feb 2009 16:07:31 +0000 (16:07 +0000)]
Added the definition of $(MAKE) macro back into top level makefile for the sake of nmake.exe in Visual Studio 2003.

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

12 years agoUpdate GenFv tool to create PI compliant FvImage that may contain the Fv extension...
lgao4 [Wed, 25 Feb 2009 06:23:18 +0000 (06:23 +0000)]
Update GenFv tool to create PI compliant FvImage that may contain the Fv extension header.

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

12 years ago1. Fixed the issue which string ID, $LANGUAGE_NAME and $PRINTABLE_LANGUAGE_NAME,...
jwang36 [Tue, 24 Feb 2009 17:11:14 +0000 (17:11 +0000)]
1. Fixed the issue which string ID, $LANGUAGE_NAME and $PRINTABLE_LANGUAGE_NAME,  were generated if "#langdef" is not in the first uni file.
2. Fixed the issue which "//" would be taken as comment in PCD value in DSC file.

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

12 years ago1. Fix a bug in checking wrong C code use in specific pcd type.
hchen30 [Tue, 24 Feb 2009 09:06:27 +0000 (09:06 +0000)]
1. Fix a bug in checking wrong C code use in specific pcd type.

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

12 years agoECC: add [] to quote keyword in error message so that user can know what to add to...
jlin16 [Mon, 23 Feb 2009 02:27:07 +0000 (02:27 +0000)]
ECC: add [] to quote keyword in error message so that user can know what to add to exception list.

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

12 years agoUpdate exception.xml for four exception function names in pcd type checkpoints
hchen30 [Fri, 20 Feb 2009 10:10:35 +0000 (10:10 +0000)]
Update exception.xml for four exception function names in pcd type checkpoints

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

12 years agoAdd two new checkpoints for ECC from developers' feature requests:
hchen30 [Fri, 20 Feb 2009 10:05:20 +0000 (10:05 +0000)]
Add two new checkpoints for ECC from developers' feature requests:
1. Check whether all files under module directory are described in INF files
2. Check whether the PCD is correctly used in C function via its type

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

12 years agoFixed single module build failure.
jwang36 [Thu, 19 Feb 2009 09:59:18 +0000 (09:59 +0000)]
Fixed single module build failure.

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

12 years agoECC: add scope. prefix of structure member variable during name convention check...
jlin16 [Thu, 19 Feb 2009 06:46:26 +0000 (06:46 +0000)]
ECC: add scope. prefix of structure member variable during name convention check. User should use structure.member in exception.xml

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

12 years agoUpdated UiName to be xs:normalizedString
lhauch [Thu, 19 Feb 2009 01:06:01 +0000 (01:06 +0000)]
Updated UiName to be xs:normalizedString

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

12 years agoFixed the failure caused by passing value of FLASH_DEFINITION as string
jwang36 [Wed, 18 Feb 2009 14:12:40 +0000 (14:12 +0000)]
Fixed the failure caused by passing value of FLASH_DEFINITION as string

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

12 years agoFixed the failure caused by specifying fdf file via "-f" switch
jwang36 [Wed, 18 Feb 2009 12:08:38 +0000 (12:08 +0000)]
Fixed the failure caused by specifying fdf file via "-f" switch

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

12 years agoRevert fix HSD202042 ECC should not requires “duplicate the function comment heading...
jlin16 [Wed, 18 Feb 2009 03:34:00 +0000 (03:34 +0000)]
Revert fix HSD202042 ECC should not requires “duplicate the function comment heading in the protocol include file.”, because it's impossible for ECC tool to discriminate exception conditions. User can add to exception list if they do not want to duplicate comments.

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

12 years agoECC: Fix HSD202038 ECC should not ask typedef and struct definition be put in the...
jlin16 [Wed, 18 Feb 2009 02:49:23 +0000 (02:49 +0000)]
ECC: Fix HSD202038 ECC should not ask typedef and struct definition be put in the same file.

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

12 years agoECC: Fix enum pre-assign value by function call/macro(,,,) check.
jlin16 [Tue, 17 Feb 2009 09:09:11 +0000 (09:09 +0000)]
ECC: Fix enum pre-assign value by function call/macro(,,,) check.

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

12 years agoFixed a customized build issue.
jwang36 [Tue, 17 Feb 2009 04:12:35 +0000 (04:12 +0000)]
Fixed a customized build issue.

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

12 years agoECC: Fix HSD202171 ignore ... parameter.
jlin16 [Tue, 17 Feb 2009 03:06:29 +0000 (03:06 +0000)]
ECC: Fix HSD202171 ignore ... parameter.

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

12 years agoRemoved TAB chars
jwang36 [Mon, 16 Feb 2009 16:02:26 +0000 (16:02 +0000)]
Removed TAB chars

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

12 years agoFixed silent mode not working issue in Linux
jwang36 [Mon, 16 Feb 2009 15:59:25 +0000 (15:59 +0000)]
Fixed silent mode not working issue in Linux

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

12 years ago1. Use FAMILY defined in *_TAGNAME_*_*_FAMILY as the toolchain family
jwang36 [Mon, 16 Feb 2009 13:33:45 +0000 (13:33 +0000)]
1. Use FAMILY defined in *_TAGNAME_*_*_FAMILY as the toolchain family
2. Force file name case check in Windows
3. Consolidate file/path operations
4. Support binary file type in build_rule.txt
5. Generate $(FILE_TYPES) macro only when it's used in build_rule.txt
6. Fix HSD202142 and HSD202144

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

12 years agoECC: fix HSD201853, update C parser to recognize __asm__ (); statement.
jlin16 [Mon, 16 Feb 2009 08:11:04 +0000 (08:11 +0000)]
ECC: fix HSD201853, update C parser to recognize __asm__ (); statement.

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

12 years agoAdd code to catch exception when launching external tool.
jwang36 [Wed, 11 Feb 2009 03:31:10 +0000 (03:31 +0000)]
Add code to catch exception when launching external tool.

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

12 years agoFixed the hard-coded path separator which caused problem in non-windows platform
jwang36 [Wed, 11 Feb 2009 03:18:10 +0000 (03:18 +0000)]
Fixed the hard-coded path separator which caused problem in non-windows platform

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

12 years agoRemoved the antlr code for GenDepex
jwang36 [Wed, 11 Feb 2009 02:39:15 +0000 (02:39 +0000)]
Removed the antlr code for GenDepex

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

12 years agoMerged the patches from Tristan Gingold.
jwang36 [Tue, 10 Feb 2009 14:05:45 +0000 (14:05 +0000)]
Merged the patches from Tristan Gingold.

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

12 years ago1. Add check for invalid scan target in ECC tool
hche10x [Tue, 10 Feb 2009 05:41:52 +0000 (05:41 +0000)]
1. Add check for invalid scan target in ECC tool
2. Fix a typo in exception.xml
3. Fix a string error in MkPkg
4. Move action LoadExceptionList from the phase of Check to the phase of ECC init.

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

12 years agoMerge Tristan Gingold's patch which fix bundle of warning
klu2 [Sun, 8 Feb 2009 14:38:40 +0000 (14:38 +0000)]
Merge Tristan Gingold's patch which fix bundle of warning

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

12 years agoECC: apply exception list to fileter invalid doxygen tag; add support to recognize...
jlin16 [Fri, 6 Feb 2009 07:56:37 +0000 (07:56 +0000)]
ECC: apply exception list to fileter invalid doxygen tag; add support to recognize function pointer variables.

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

12 years agoRemove unused macro
mdkinney [Thu, 5 Feb 2009 19:33:32 +0000 (19:33 +0000)]
Remove unused macro

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

12 years agoECC: add support of function parameter and structure member variable name convention...
jlin16 [Thu, 5 Feb 2009 08:35:38 +0000 (08:35 +0000)]
ECC: add support of function parameter and structure member variable name convention check.

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

12 years agoECC: apply exception list on function name layout check.
jlin16 [Wed, 4 Feb 2009 07:27:58 +0000 (07:27 +0000)]
ECC: apply exception list on function name layout check.

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

12 years agoFix HSD202038 ECC should not ask typedef and struct definition be put in the same...
jlin16 [Wed, 4 Feb 2009 06:44:41 +0000 (06:44 +0000)]
Fix HSD202038 ECC should not ask typedef and struct definition be put in the same file.
    HSD201858 intrisinc data type allowed for intrinsic function prototype.

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

12 years agoFix HSD201853, HSD201854, HSD201857; apply exception list on intrinsic functions...
jlin16 [Wed, 4 Feb 2009 03:52:49 +0000 (03:52 +0000)]
Fix HSD201853, HSD201854, HSD201857; apply exception list on intrinsic functions or compiler tags.

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

12 years agoFix HSD201928 9002's error message should be more informative "Excessive doxygen...
jlin16 [Wed, 4 Feb 2009 02:14:02 +0000 (02:14 +0000)]
Fix HSD201928 9002's error message should be more informative "Excessive doxygen tags in comment".
    HSD202043 Ecc 9002 error info need be enhanced.

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

12 years agoFix HSD202042 ECC should not requires “duplicate the function comment heading in...
jlin16 [Tue, 3 Feb 2009 06:15:42 +0000 (06:15 +0000)]
Fix HSD202042 ECC should not requires “duplicate the function comment heading in the protocol include file.”

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

12 years ago1. Add Exception List support for ECC tool
hche10x [Mon, 2 Feb 2009 08:01:31 +0000 (08:01 +0000)]
1. Add Exception List support for ECC tool

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

12 years agoFix GCC X64 build warning
lgao4 [Mon, 2 Feb 2009 05:16:30 +0000 (05:16 +0000)]
Fix GCC X64 build warning

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

12 years agoFix a bug in autogen c code for the calculation of offset for Dynamic Ex PCD entries.
qhuang8 [Fri, 23 Jan 2009 07:21:29 +0000 (07:21 +0000)]
Fix a bug in autogen c code for the calculation of offset for Dynamic Ex PCD entries.

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

12 years agoImprove the performance of Trim tool
jwang36 [Fri, 23 Jan 2009 03:18:31 +0000 (03:18 +0000)]
Improve the performance of Trim tool

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

12 years agoPut debug message body in a new line
jwang36 [Fri, 23 Jan 2009 03:15:58 +0000 (03:15 +0000)]
Put debug message body in a new line

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

12 years agoFix makefile syntax to be compatible with older versions of GNU Make.
jljusten [Thu, 22 Jan 2009 18:23:54 +0000 (18:23 +0000)]
Fix makefile syntax to be compatible with older versions of GNU Make.

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

12 years agoOnly keep EFI_GUID definition, remove basic GUID definition that may be conflicted...
lgao4 [Thu, 22 Jan 2009 05:35:11 +0000 (05:35 +0000)]
Only keep EFI_GUID definition, remove basic GUID definition that may be conflicted with OS standard definition.

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

12 years agoFixed a build issue
jwang36 [Thu, 22 Jan 2009 03:11:54 +0000 (03:11 +0000)]
Fixed a build issue

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

12 years agoFor GNU Make builds of the BaseTools C Tools, if the ARCH variable is
jljusten [Wed, 21 Jan 2009 21:09:28 +0000 (21:09 +0000)]
For GNU Make builds of the BaseTools C Tools, if the ARCH variable is
not defined, then we attempt to use the uname tool to detect the
appropriate ARCH to build with.

Previously, we would default to ARCH=IA32.

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

12 years ago* BaseTools/Source/C/Common/SimpleFileParsing.c:
jljusten [Wed, 21 Jan 2009 20:58:54 +0000 (20:58 +0000)]
* BaseTools/Source/C/Common/SimpleFileParsing.c:

  Fix build error which was preventing the tools from building on
  x86_64 Linux machines with ARCH defined as X64.

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

12 years ago* BaseTools/Source/C/GenFw/GenFw.c:
jljusten [Wed, 21 Jan 2009 20:52:19 +0000 (20:52 +0000)]
* BaseTools/Source/C/GenFw/GenFw.c:

  Only initialize BaseOfData for IA32, since it is not available in the
  EFI_IMAGE_OPTIONAL_HEADER64 data scructure.  This was preventing the
  tools from building on x86_64 Linux machines with ARCH defined as X64.

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

12 years agoAdd support to Zero .xdata exception section to increase compression ratio.
lgao4 [Wed, 21 Jan 2009 08:42:14 +0000 (08:42 +0000)]
Add support to Zero .xdata exception section to increase compression ratio.

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

12 years agoFor the VTF (Volume Top File) on IA32 & X64, add support for
jljusten [Tue, 13 Jan 2009 23:37:05 +0000 (23:37 +0000)]
For the VTF (Volume Top File) on IA32 & X64, add support for
detecting a signature EFI_SIGNATURE_32('V','T','F',0) at 0x14
bytes from the end of the VTF.  If this signature is found,
then the VTF will not be modified by GenFv.

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

12 years agoUse share mode to create file
jwang36 [Tue, 13 Jan 2009 05:47:59 +0000 (05:47 +0000)]
Use share mode to create file

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

12 years agoUse share mode to create file
jwang36 [Tue, 13 Jan 2009 05:47:23 +0000 (05:47 +0000)]
Use share mode to create file

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

12 years agoRemove the flush operation for non-Windows platform
jwang36 [Mon, 12 Jan 2009 09:39:44 +0000 (09:39 +0000)]
Remove the flush operation for non-Windows platform

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

12 years ago1. Update some description for tool usage
hche10x [Mon, 12 Jan 2009 07:56:31 +0000 (07:56 +0000)]
1. Update some description for tool usage

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

12 years ago1. Update Synopsis of packaging tools.
hche10x [Mon, 12 Jan 2009 06:42:13 +0000 (06:42 +0000)]
1. Update Synopsis of packaging tools.

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

12 years agoCheck the success of file creation
jwang36 [Mon, 12 Jan 2009 06:26:22 +0000 (06:26 +0000)]
Check the success of file creation

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

12 years agoImport PyUtility module as needed to avoid error in non-Windows system
jwang36 [Mon, 12 Jan 2009 05:53:15 +0000 (05:53 +0000)]
Import PyUtility module as needed to avoid error in non-Windows system

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