efi/basetools/.git
11 years agoUpdate GenSec tool to always create output file without check file content.
lgao4 [Mon, 15 Dec 2008 07:39:30 +0000 (07:39 +0000)]
Update GenSec tool to always create output file without check file content.

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

11 years agoPackagingTool: add the DB and depex modules.
jlin16 [Mon, 15 Dec 2008 07:31:11 +0000 (07:31 +0000)]
PackagingTool: add the DB and depex modules.

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

11 years agoGenFds: try to deduce the 'Target_Toolchain_Arch' KeyStringList for GUIDed section...
jlin16 [Mon, 15 Dec 2008 06:58:23 +0000 (06:58 +0000)]
GenFds: try to deduce the 'Target_Toolchain_Arch' KeyStringList for GUIDed section if it is not specified by user.

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

11 years agoUpdate GenFv tool to print Fv Size Information into Fv Map size.
lgao4 [Mon, 15 Dec 2008 06:51:56 +0000 (06:51 +0000)]
Update GenFv tool to print Fv Size Information into Fv Map size.

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

11 years agoAdd package file (zip file) helper class
jwang36 [Mon, 15 Dec 2008 06:43:59 +0000 (06:43 +0000)]
Add package file (zip file) helper class

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

11 years agoAdd for packaging tool code
jwang36 [Mon, 15 Dec 2008 06:42:44 +0000 (06:42 +0000)]
Add for packaging tool code

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

11 years agoAdd incremental support for FD and Capsule generation.
jwang36 [Sat, 13 Dec 2008 12:50:39 +0000 (12:50 +0000)]
Add incremental support for FD and Capsule generation.

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

11 years agoUpdated
jwang36 [Fri, 12 Dec 2008 06:28:14 +0000 (06:28 +0000)]
Updated

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

11 years ago1) Search value of Guid/Protocol/PPI in inf file only in the same category in dec...
jwang36 [Fri, 12 Dec 2008 06:20:29 +0000 (06:20 +0000)]
1) Search value of Guid/Protocol/PPI in inf file only in the same category in dec file.
2) Pass all files in a module's directory to StrGather for R8 modules.

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

11 years agoGenFds re-enable single FV, FD generation;
jlin16 [Fri, 12 Dec 2008 06:03:23 +0000 (06:03 +0000)]
GenFds re-enable single FV, FD generation;
enable FV space information display for incremental build;
remove the restriction for KeyStringList of RULE when searching external compress tools.

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

11 years ago1. Modify ModuleClass and PackageClass to sync with packaging tool spec
hche10x [Thu, 11 Dec 2008 02:51:04 +0000 (02:51 +0000)]
1. Modify ModuleClass and PackageClass to sync with packaging tool spec
2. Add DistributionPackageClass defined in packaging tool spec
3. Add XMLParser to parser XML structure for packaging tool
4. Add DecClassObjectLight and InfClassObjectLight for simple parser of .def/.inf files.

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

11 years agoUpdated according to the recent code changes.
jwang36 [Tue, 9 Dec 2008 07:18:16 +0000 (07:18 +0000)]
Updated according to the recent code changes.

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

11 years ago1) Separate the AutoGen code between module and its library instances. Only macros...
jwang36 [Tue, 9 Dec 2008 07:04:52 +0000 (07:04 +0000)]
1) Separate the AutoGen code between module and its library instances. Only macros for module's PCDs will be put in AutoGen.h. Others will be put in AutoGen.c. This is intended to catch missed PCDs in inf file more easily.
2) For better compatibile between C standards or C compiler, add type cast for PCD constants in AutoGen.h according to the PCD datum type.
3) Add incremental generation capability for FV in GenFds tool.

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

11 years agoAdded format validation for value of PCD against its type.
jwang36 [Mon, 8 Dec 2008 09:54:11 +0000 (09:54 +0000)]
Added format validation for value of PCD against its type.

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

11 years agoUpdated with the latest changes in R9 main trunk
jwang36 [Mon, 8 Dec 2008 09:39:50 +0000 (09:39 +0000)]
Updated with the latest changes in R9 main trunk

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

11 years agoUpdated with the chagne history of source code
jwang36 [Mon, 8 Dec 2008 08:49:30 +0000 (08:49 +0000)]
Updated with the chagne history of source code

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

11 years agoECC: revert to the one without force [in,out] check in param comments.
jlin16 [Mon, 8 Dec 2008 02:10:04 +0000 (02:10 +0000)]
ECC: revert to the one without force [in,out] check in param comments.

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

11 years agoECC: with force [in,out] check in param comments.
jlin16 [Mon, 8 Dec 2008 02:04:46 +0000 (02:04 +0000)]
ECC: with force [in,out] check in param comments.

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

11 years agoRemove use of UINT8_MAX. Use BIT8-1 instead.
mdkinney [Sun, 7 Dec 2008 22:44:59 +0000 (22:44 +0000)]
Remove use of UINT8_MAX.  Use BIT8-1 instead.

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

11 years agoRemove use of UINT8_MAX. Use BIT8-1 instead.
mdkinney [Sun, 7 Dec 2008 22:44:40 +0000 (22:44 +0000)]
Remove use of UINT8_MAX.  Use BIT8-1 instead.

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

11 years agoUpdate _CR() to BASE_CR()
mdkinney [Sat, 6 Dec 2008 01:29:43 +0000 (01:29 +0000)]
Update _CR() to BASE_CR()

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

11 years agoFixed an "build clean" failure for module
jwang36 [Fri, 5 Dec 2008 09:24:21 +0000 (09:24 +0000)]
Fixed an "build clean" failure for module

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

11 years agoFixed an typo for "VERSION" token
jwang36 [Fri, 5 Dec 2008 02:04:07 +0000 (02:04 +0000)]
Fixed an typo for "VERSION" token

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

11 years agoAdded a feature to print out storage layout in lst file
jwang36 [Thu, 4 Dec 2008 09:05:33 +0000 (09:05 +0000)]
Added a feature to print out storage layout in lst file

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

11 years agoAdded exception catch for unicode file operation
jwang36 [Thu, 4 Dec 2008 09:03:08 +0000 (09:03 +0000)]
Added exception catch for unicode file operation

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

11 years agoKeep the AutoGen.c for R8 modules with unicode file
jwang36 [Thu, 4 Dec 2008 04:56:05 +0000 (04:56 +0000)]
Keep the AutoGen.c for R8 modules with unicode file

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

11 years agoDefine PCCTS_USE_NAMESPACE_STD, so <iostream.h> and similar deprecated
jljusten [Thu, 4 Dec 2008 04:49:33 +0000 (04:49 +0000)]
Define PCCTS_USE_NAMESPACE_STD, so <iostream.h> and similar deprecated
files will not be included.  Instead <iostream> will be included.

The latest releases of GNU libstdc++ no longer include these
deprecated files.
  http://gcc.gnu.org/viewcvs?view=rev&revision=129442

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

11 years agoa. Added a feature to allow override tools option via "==" in metafile.
jwang36 [Thu, 4 Dec 2008 02:39:15 +0000 (02:39 +0000)]
a. Added a feature to allow override tools option via "==" in metafile.
b. Removed the AutoGen.c generation for R8 module.

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

11 years agoFixed regression issue of not inheriting library's depex if there's BEFORE and AFTER...
jwang36 [Sat, 29 Nov 2008 12:17:31 +0000 (12:17 +0000)]
Fixed regression issue of not inheriting library's depex if there's BEFORE and AFTER in module's depex.

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

11 years agoFixed issue caused by missing space between "struct" and following open "{" for prepr...
jwang36 [Fri, 28 Nov 2008 06:06:11 +0000 (06:06 +0000)]
Fixed issue caused by missing space between "struct" and following open "{" for preprocessed VFR file

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

11 years agoSolved issue in R8 module build for EBC
jwang36 [Fri, 28 Nov 2008 05:55:52 +0000 (05:55 +0000)]
Solved issue in R8 module build for EBC

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

11 years agoa. Changed PEI core prototype
jwang36 [Thu, 27 Nov 2008 09:07:58 +0000 (09:07 +0000)]
a. Changed PEI core prototype
b. Added the generation of $(MODULE_NAME)StrDefs.h and removed the copy command from AutoGen.h in makefile

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

12 years agoChanged the return type of library structors from EFI_STATUS to RETURN_STATUS
jwang36 [Wed, 26 Nov 2008 02:27:25 +0000 (02:27 +0000)]
Changed the return type of library structors from EFI_STATUS to RETURN_STATUS

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

12 years agoFixed HSD201947: move function prototypes generated in AutoGen.c to AutoGen.h
jwang36 [Tue, 25 Nov 2008 15:07:37 +0000 (15:07 +0000)]
Fixed HSD201947: move function prototypes generated in AutoGen.c to AutoGen.h

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

12 years agoFixed an incorrect PCD type conversion.
jwang36 [Tue, 25 Nov 2008 09:56:58 +0000 (09:56 +0000)]
Fixed an incorrect PCD type conversion.

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

12 years agoUse "GLOBAL_REMOVE_IF_UNREFERENCED volatile" for variable of binary patch PCD.
klu2 [Mon, 24 Nov 2008 17:56:46 +0000 (17:56 +0000)]
Use "GLOBAL_REMOVE_IF_UNREFERENCED volatile" for variable of binary patch PCD.

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

12 years agoVfrCompiler tool is updated.
lgao4 [Mon, 24 Nov 2008 11:52:48 +0000 (11:52 +0000)]
VfrCompiler tool is updated.
1. Add Framework package Header for the framework vfr file.
2. Update StatementExpression function to extend OpCode Scope only for the root expression.

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

12 years agomake line alignment.
lgao4 [Mon, 24 Nov 2008 05:18:38 +0000 (05:18 +0000)]
make line alignment.

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

12 years agoreplace tab by two space.
lgao4 [Mon, 24 Nov 2008 05:04:23 +0000 (05:04 +0000)]
replace tab by two space.

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

12 years agoUpdate BasePeCoff to handle the PE/COFF image without DEBUG entry.
lgao4 [Fri, 21 Nov 2008 07:20:54 +0000 (07:20 +0000)]
Update BasePeCoff to handle the PE/COFF image without DEBUG entry.

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

12 years ago1. Fix a bug of generating FRAMEWORK_EFI_HII_PACK_HEADER in compatible mode
hche10x [Fri, 21 Nov 2008 06:40:27 +0000 (06:40 +0000)]
1. Fix a bug of generating FRAMEWORK_EFI_HII_PACK_HEADER in compatible mode

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

12 years ago1. Enhance GenFv WriteFvMap function to print basic debug information (entrypoint...
lgao4 [Fri, 21 Nov 2008 06:24:48 +0000 (06:24 +0000)]
1. Enhance GenFv WriteFvMap function to print basic debug information (entrypoint, baseaddress, .text, .data section base address)  when no map can be referred.

2. Enhance GenFv tool to create the non PI file system firmware volume.

3. Change BasePeCoffLib API PeCoffLoaderGetPdbPointer to get PdbPointer from the raw PE image, not from the loaded PE image.

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

12 years ago 1. Set the first framework var store name to “Setup”
lgao4 [Fri, 21 Nov 2008 06:10:36 +0000 (06:10 +0000)]
 1. Set the first framework var store name to “Setup”
 2. Support DEFAULT and MANUFACTURING for framework CheckBox flags value

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

12 years agoChanged the way to compare the content of AutoGen with the file to be generated from...
jwang36 [Fri, 21 Nov 2008 04:36:17 +0000 (04:36 +0000)]
Changed the way to compare the content of AutoGen with the file to be generated from it. This is to solve the re-generation issue of AutoGen files because of the newline format is different between the internal representation and the file.

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

12 years agoSave AutoGen file in native file line format
jwang36 [Thu, 20 Nov 2008 01:57:02 +0000 (01:57 +0000)]
Save AutoGen file in native file line format

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

12 years agoUpdated to match the PIWG version of the specification.
lhauch [Wed, 19 Nov 2008 20:17:21 +0000 (20:17 +0000)]
Updated to match the PIWG version of the specification.

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

12 years agoRemoved GLOBAL_REMOVE_IF_UNREFERENCED for patchable PCD because it will cause that...
jwang36 [Wed, 19 Nov 2008 02:23:33 +0000 (02:23 +0000)]
Removed GLOBAL_REMOVE_IF_UNREFERENCED for patchable PCD because it will cause that patchable PCD variables information won't be in the map file generated by linker.

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

12 years agoMerged bug fixes and new features from R8
jwang36 [Wed, 19 Nov 2008 02:07:52 +0000 (02:07 +0000)]
Merged bug fixes and new features from R8

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

12 years agoUpdate GenFv to support SEC built with X64 tools
mdkinney [Sat, 15 Nov 2008 21:23:53 +0000 (21:23 +0000)]
Update GenFv to support SEC built with X64 tools

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

12 years agoadded missing ')' and '&'
vanjeff [Thu, 13 Nov 2008 14:52:22 +0000 (14:52 +0000)]
added missing ')' and '&'

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

12 years agoadded missing ')' and '&'
vanjeff [Thu, 13 Nov 2008 14:37:57 +0000 (14:37 +0000)]
added missing ')' and '&'

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

12 years agoRemoved the replacement rule of PEI_PCI_CFG_PPI for R8 source code
jwang36 [Thu, 13 Nov 2008 10:20:17 +0000 (10:20 +0000)]
Removed the replacement rule of PEI_PCI_CFG_PPI for R8 source code

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

12 years agoa. Fixed HSD 201877: 'END' in [depex] caused GenDepex failure
jwang36 [Thu, 13 Nov 2008 08:28:33 +0000 (08:28 +0000)]
a. Fixed HSD 201877: 'END' in [depex] caused GenDepex failure
b. Corrected comments in Trim.py and added comments for new function

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

12 years agoAdded more error checks
jwang36 [Thu, 13 Nov 2008 07:41:49 +0000 (07:41 +0000)]
Added more error checks

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

12 years agoa. Changed ASL code trim scheme
jwang36 [Thu, 13 Nov 2008 07:04:20 +0000 (07:04 +0000)]
a. Changed ASL code trim scheme
b. Added one more rule for convert R8 source code and added missing '&' before gPciCfgPpi.

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

12 years agoOnly not to save file if the target is the source and the content is not changed.
jwang36 [Thu, 13 Nov 2008 04:52:25 +0000 (04:52 +0000)]
Only not to save file if the target is the source and the content is not changed.

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

12 years agoFixed the saving the wrong content of trimmed file
jwang36 [Thu, 13 Nov 2008 04:47:48 +0000 (04:47 +0000)]
Fixed the saving the wrong content of trimmed file

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

12 years agoa. Fixed conversion failure for ASL style include.
jwang36 [Thu, 13 Nov 2008 04:34:25 +0000 (04:34 +0000)]
a. Fixed conversion failure for ASL style include.
b. Not to save file if converted file is intact.

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

12 years agoa. Fixed the incorrect check of 'BEFORE' and 'AFTER' depex when deriving from depende...
jwang36 [Wed, 12 Nov 2008 01:38:06 +0000 (01:38 +0000)]
a. Fixed the incorrect check of 'BEFORE' and 'AFTER' depex when deriving from dependent library instances
b. Changed several verbose message to debug message for better verbose information

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

12 years agoFixed $(PROCESSOR) macro replacement issue in [nmake] section
jwang36 [Tue, 11 Nov 2008 08:28:29 +0000 (08:28 +0000)]
Fixed $(PROCESSOR) macro replacement issue in [nmake] section

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

12 years agoOnly not to append flags from tools_def.txt for USER_DEFINED module
jwang36 [Tue, 11 Nov 2008 07:55:45 +0000 (07:55 +0000)]
Only not to append flags from tools_def.txt for USER_DEFINED module

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

12 years agoa. Allowed flags of tools not defined tools_def.txt
jwang36 [Tue, 11 Nov 2008 06:59:05 +0000 (06:59 +0000)]
a. Allowed flags of tools not defined tools_def.txt
b. Added BUILD as internal tool to pass compatible mode of unicode to build tool.
c. Added support of [Depex.common.<ModuleType>] in inf file
d. Added more optimization, especially for architecture protocols, in GeDepex tool
e. Fixed the generation of _gPeimRevision and _gDxeRevision global variables in AutoGen.c according to new MdePkg spec.
f. Changed the header file of DxeSmmeEntryPoint.h to UefiDriverEntryPoint.h in AutoGen.c since it's no longer exist.

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

12 years agoECC: Fix mis-report of function parameter line coding style.
jlin16 [Mon, 10 Nov 2008 09:23:53 +0000 (09:23 +0000)]
ECC: Fix mis-report of function parameter line coding style.

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

12 years agoFixed an issue which caused incorrect path generated when validating
jwang36 [Mon, 10 Nov 2008 05:51:58 +0000 (05:51 +0000)]
Fixed an issue which caused incorrect path generated when validating

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

12 years agoECC: fix HSD201845
jlin16 [Fri, 7 Nov 2008 10:33:49 +0000 (10:33 +0000)]
ECC: fix HSD201845

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

12 years agoFix HSD tracker 201801:[GenFds] Error reported when a non-existing INF file is specif...
jlin16 [Thu, 6 Nov 2008 07:50:01 +0000 (07:50 +0000)]
Fix HSD tracker 201801:[GenFds] Error reported when a non-existing INF file is specified is not clear

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

12 years agoPrint out original file path for better debug when failure
jwang36 [Thu, 6 Nov 2008 05:55:37 +0000 (05:55 +0000)]
Print out original file path for better debug when failure

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

12 years agoChanged ValidFile2 function to let it return the original file path for better debug...
jwang36 [Thu, 6 Nov 2008 05:10:31 +0000 (05:10 +0000)]
Changed ValidFile2 function to let it return the original file path for better debug when failure

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

12 years agoAdded "unix" macro check for non-linux kind of *nix OS, including cygwin.
jwang36 [Tue, 4 Nov 2008 06:47:40 +0000 (06:47 +0000)]
Added "unix" macro check for non-linux kind of *nix OS, including cygwin.

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

12 years ago1. Add compatible mode support for StrGather function
hche10x [Tue, 4 Nov 2008 03:09:15 +0000 (03:09 +0000)]
1. Add compatible mode support for StrGather function

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

12 years agoFixed a bug which caused build failure of R8 modules with uni file
jwang36 [Thu, 30 Oct 2008 09:46:36 +0000 (09:46 +0000)]
Fixed a bug which caused build failure of R8 modules with uni file

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

12 years agoOptimized the file validation by not to find out all files in WORKSPACE. Instead...
jwang36 [Thu, 30 Oct 2008 02:55:12 +0000 (02:55 +0000)]
Optimized the file validation by not to find out all files in WORKSPACE. Instead, only files in directories touched will be enumerated.

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

12 years agoFixed the incorrect prototype in AutoGen.c for PEI module
jwang36 [Tue, 28 Oct 2008 09:38:55 +0000 (09:38 +0000)]
Fixed the incorrect prototype in AutoGen.c for PEI module

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

12 years ago1. Fixed bugs of HSD bug trackers 201729, 201670 and 201601
jwang36 [Tue, 28 Oct 2008 08:25:58 +0000 (08:25 +0000)]
1. Fixed bugs of HSD bug trackers 201729, 201670 and 201601
2. Improved the screen output when in quiet build mode
3. Added "tbuild" target in makefile in order to not create directories in makefile. Instead, they will be created in build tool. This will give better build performance, especially in incremental build.
4. Added space check in WORKSPACE and OUTPUT_DIRECTORY (in dsc file) directory name and give error message if found.

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

12 years agoECC: add support for CONST return type checking; clarify doxygen style ///< comment...
jlin16 [Fri, 24 Oct 2008 05:34:05 +0000 (05:34 +0000)]
ECC: add support for CONST return type checking; clarify doxygen style ///< comment checking.

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

12 years ago1. Fix a bug of empty include path.
hche10x [Wed, 22 Oct 2008 09:00:37 +0000 (09:00 +0000)]
1. Fix a bug of empty include path.

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

12 years agoFixed an issue which will cause incorrect EFI_SOURCE, EDK_SOURCE and ECP_SOURCE value...
jwang36 [Tue, 21 Oct 2008 03:23:20 +0000 (03:23 +0000)]
Fixed an issue which will cause incorrect EFI_SOURCE, EDK_SOURCE and ECP_SOURCE value if the WORKSPACE is in the root of a drive, like "X:\"

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

12 years ago1. Fix a bug of inserting empty string to include path list when building a R8 tip...
hche10x [Tue, 21 Oct 2008 01:59:28 +0000 (01:59 +0000)]
1. Fix a bug of inserting empty string to include path list when building a R8 tip without definition of EFI_SOURCE

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

12 years agoa. Fixed an issue in enumerating traceback object
jwang36 [Thu, 16 Oct 2008 08:34:26 +0000 (08:34 +0000)]
a. Fixed an issue in enumerating traceback object
b. Not to generated .depex file for library module

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

12 years agoTried to give more accurate file information when unknown exception occurred
jwang36 [Thu, 16 Oct 2008 08:17:23 +0000 (08:17 +0000)]
Tried to give more accurate file information when unknown exception occurred

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

12 years agoChanged code not to use non-existing include path for R8 modules
jwang36 [Mon, 13 Oct 2008 07:01:04 +0000 (07:01 +0000)]
Changed code not to use non-existing include path for R8 modules

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

12 years ago1. Fix a bug to replace arch macro in [nmake] section
hche10x [Fri, 10 Oct 2008 03:14:13 +0000 (03:14 +0000)]
1. Fix a bug to replace arch macro in [nmake] section

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

12 years ago1. Add EcpSource support in R8 code
hche10x [Tue, 7 Oct 2008 05:10:01 +0000 (05:10 +0000)]
1. Add EcpSource support in R8 code
2. Use warning instead of error for un-found include .h files in .inf files in R8 code
3. Fix some bugs

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

12 years agoChecked self.SourceOverrideDir against None to avoid os.path.join fail.
jwang36 [Mon, 6 Oct 2008 02:50:25 +0000 (02:50 +0000)]
Checked self.SourceOverrideDir against None to avoid os.path.join fail.

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

12 years agoGenFds fix two UI sections error.
jlin16 [Tue, 23 Sep 2008 09:25:08 +0000 (09:25 +0000)]
GenFds fix two UI sections error.

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

12 years agoChanged "SecMain" to ".${separator}SecMain" to let be compatible with UnixPkg.
jwang36 [Thu, 18 Sep 2008 05:57:12 +0000 (05:57 +0000)]
Changed "SecMain" to ".${separator}SecMain" to let be compatible with UnixPkg.

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

12 years agoFixed GenDepex issues:
jwang36 [Wed, 17 Sep 2008 09:24:42 +0000 (09:24 +0000)]
Fixed GenDepex issues:
1) Not to inherit depex in library module if AFTER/BEFORE is used
2) NOT is optimized out incorrectly.

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

12 years agoOnly Check the buffer var store CheckBox question to the boolean type according to...
lgao4 [Wed, 3 Sep 2008 01:49:49 +0000 (01:49 +0000)]
Only Check the buffer var store CheckBox question to the boolean type according to UEFI spec.

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

12 years agoUpdate VfrCompiler to fix the following incompatible and check issues.
lgao4 [Tue, 2 Sep 2008 13:11:26 +0000 (13:11 +0000)]
Update VfrCompiler to fix the following incompatible and check issues.
     1. First structure name will be declared as the default buffer varstore if no any buffer varstore is declared.
     2. Use numeric IFR type to declare the undefined question in order to support the different data type.
     3. Array check for CheckBox, Nemeric and Oneof Type, because they don't support the array as their question.
     4. Check the index in array for UEFI and Framework VFR question.

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

12 years ago1. Fix a bug for variable init issue.
hche10x [Tue, 2 Sep 2008 07:52:54 +0000 (07:52 +0000)]
1. Fix a bug for variable init issue.

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

12 years agoR9 Build & GenFds ECP support initial check in.
jlin16 [Mon, 1 Sep 2008 09:39:47 +0000 (09:39 +0000)]
R9 Build & GenFds ECP support initial check in.

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

12 years agoUpdates from June - don't remember why they were not checked in then.
lhauch [Fri, 29 Aug 2008 16:49:27 +0000 (16:49 +0000)]
Updates from June - don't remember why they were not checked in then.

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

12 years agoMore place to convert build type
jwang36 [Fri, 29 Aug 2008 07:04:46 +0000 (07:04 +0000)]
More place to convert build type

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

12 years agoConverted build type to upper case in order to solve build rule matching issue.
jwang36 [Fri, 29 Aug 2008 06:36:27 +0000 (06:36 +0000)]
Converted build type to upper case in order to solve build rule matching issue.

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

12 years agoFixed the macro option from -y to -D
lhauch [Thu, 28 Aug 2008 16:38:05 +0000 (16:38 +0000)]
Fixed the macro option from -y to -D

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

12 years agoChanging these files EOL character to be DOS CRLF
lhauch [Thu, 28 Aug 2008 15:25:59 +0000 (15:25 +0000)]
Changing these files EOL character to be DOS CRLF

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

12 years agoAdded utf_16_le and latin_1 encodings to the MODULES line
lhauch [Thu, 28 Aug 2008 15:18:33 +0000 (15:18 +0000)]
Added utf_16_le and latin_1 encodings to the MODULES line

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

12 years agoChanging option character for defining Macros from -y to -D
lhauch [Wed, 27 Aug 2008 18:03:34 +0000 (18:03 +0000)]
Changing option character for defining Macros from -y to -D

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

12 years agoChanging option character for defining Macros from -y to -D
lhauch [Wed, 27 Aug 2008 18:02:48 +0000 (18:02 +0000)]
Changing option character for defining Macros from -y to -D

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

12 years agoupdated the Option comment for adding -D, --define in the future
lhauch [Wed, 27 Aug 2008 17:57:33 +0000 (17:57 +0000)]
updated the Option comment for adding -D, --define in the future

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