Commit Graph

606 Commits

Author SHA1 Message Date
vanjeff 576b299ac9 add .mut file type support for Microcode files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5730 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-26 06:18:30 +00:00
lgao4 98335d901b Minor change to remove /GL- option unsupported by ICC tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5707 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-21 13:23:12 +00:00
lgao4 a1c949f333 Update GenSec to handle the input file whose size is Zero. And add the unified ASL tool path and flags for ASL code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5706 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-21 13:11:01 +00:00
jlin16 281bb4b6a3 GenFds add FV space information display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5652 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 08:47:44 +00:00
lgao4 060f5fc9fc Declare Default MANUFACTURING Store for Vfr Code Reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5651 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 04:41:52 +00:00
jwang36 0d037274f8 Added TOOLCHAIN macro in makefile besides TOOLCHAIN_TAG
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5641 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 02:07:08 +00:00
lgao4 f4168df83f Enhance GenFv tool to print Fv Size and Length, and Get module map by module pdb pointer and get module guid by module FFS guid.
And Enhance VfrCompiler to handle framework vfr file, and print more debug information into .lst file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5635 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-13 02:22:18 +00:00
jwang36 f285eb1628 1. Enhanced the format of build_rule.txt to allow module type and arch information.
2. Enhanced Trim to convert ASL style of include to C style of include
3. Enhanced Trim to convert some EDK coding convention to EDK2 ECP convention
4. Added warning message when encountering unrecognized content in DSC/DEC/INF File
5. Enhanced the GenDepex to ignore everything outside DEPENDENCY_STANT and DEPENDENCY_END in dxs file


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5634 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-12 07:54:36 +00:00
klu2 dbb76af316 Update two tool binary for Duet platform
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5630 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-12 05:09:14 +00:00
lgao4 bdf37b3c46 Change VfrCompile.exe to VfrCompile to support the different OS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5623 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-10 03:56:03 +00:00
jwang36 e81429bdfb Fixed a block issue caused by R8 library instance
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5611 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-07 08:02:34 +00:00
lgao4 30962c7752 Abstract VFR compiler and Flag to marco that user can customize.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5610 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-07 03:29:10 +00:00
jwang36 9e3ae2db3a Added more error check
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5594 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-31 08:24:23 +00:00
jwang36 54bac0db0b 1. Fixed escape character issue in string value of PCD
2. Added host information in build message

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5579 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-28 04:38:06 +00:00
jwang36 4ad4145108 1. Fixed NULL library instance issue
2. Fixed non-existing table issue
3. Added more error message for format error

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5562 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-25 06:41:38 +00:00
lgao4 2ba79f2419 Fix the bug to create Pci2.3 and Pci3.0 rom image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5494 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 07:08:12 +00:00
eric_tian 73aa7f049b merge the generation of SecMain into the whole build process.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5491 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 05:28:50 +00:00
lgao4 658885420f Temp Roll Back Build.exe to fix the unknown NULL library class instance issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5416 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 06:33:21 +00:00
jwang36 f3947f1ac7 Polished the error checks and error messages
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5412 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-07 09:00:04 +00:00
jwang36 4611e327f4 Fixed rebuild failure issue when un-recognized macro is used in "#include" directive.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5383 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 07:17:54 +00:00
eric_tian 865c7e1722 Provide source level debug ability in *unix environment.
[Background]
The UnixPkg provide an simulator in *unix. To support source level debug, we need force all modules be built as ELF shard objects and dynamically load all of modules using dlopen(). For peicore, peim and dxecore, we provide a wrapper to provide PeCoffLoader interface 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5382 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 06:25:43 +00:00
eric_tian ed0b86b183 make change to support UnixPkg build. The changes are listed as follows:
1. change ASM_PFX() macro, the underscore preceding to function symbol don't be added in Linux.
2. move some illegal characters in .S file.
3. change ELFGCC flag in tools_def.template to support Linux&ELFGCC build

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5381 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 05:50:49 +00:00
lgao4 acbbe34e7b Correct print Error message
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5358 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-21 09:30:51 +00:00
jwang36 e19846c766 Fixed HSD tracker 201036
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5350 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-19 02:35:15 +00:00
lhauch 9cf974f646 fixed a typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5341 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-11 22:01:53 +00:00
qwang12 616380f68b Add "-l" to make VFR Compiler to generate .lst file to assist debug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5334 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-05 07:48:54 +00:00
jwang36 23fdff8236 Added dependency of makefile to source files in order to let source files be rebuilt when tool option changes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5333 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-05 07:36:19 +00:00
qwang12 fd6e8b4b82 add VFRPP patch for EBC WINDDK3790x1830 tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5328 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-05 01:43:26 +00:00
jwang36 d389c6f3fc Changed the error message to be clearer when no source files are found for build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5323 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-04 07:08:50 +00:00
lgao4 00fc1dab5a Enhance GenFv tool always collect all module Map files into the single FvMap file for user easy reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5305 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 09:05:24 +00:00
jwang36 7e1230b6a1 a. Fixed the incorrect generated array in c code for default store values
b. Fixed the version string.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5265 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 08:08:57 +00:00
lhauch 76c6abd94f setting executable on these files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5241 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 17:43:07 +00:00
lhauch 634739f1f1 setting executable on these files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5239 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 17:29:28 +00:00
lhauch acad1501d5 Forcing dlls and pyd files to executable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5236 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 17:06:52 +00:00
jwang36 d5ce7c3e22 Fixed PCD override issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5221 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-19 05:12:27 +00:00
jwang36 263822c99f a. Fixed PCD override issue
b. Added error check and report for incompatible files in meta file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5212 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-16 08:47:15 +00:00
jwang36 412339e0fb Fixed an error during optimizing dependency expression.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5210 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-16 03:09:51 +00:00
jwang36 f44eb8f641 Fixed error report error when more than one inf files found
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5209 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-16 02:19:28 +00:00
lgao4 0a1d7bdc45 Add ASL_FLAGS template for user reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5205 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-15 04:58:49 +00:00
jwang36 073e905aaa a. Fixed varid 0 issue in VfrCompile
b. Fixed an undefined variable in the parser of tools_def.txt

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5204 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-15 03:41:16 +00:00
jwang36 c0577805c9 Fixed VFR compile issue for EBC architecture in MYTOOLS toolchain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5203 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-15 03:00:04 +00:00
jwang36 c5e1d28d1c Fixed an issue in default storage for checkbox and changed the format of error message.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5198 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-13 09:34:02 +00:00
jwang36 335b890e40 Added incremental support in GenFds
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5193 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-09 09:21:05 +00:00
lgao4 7aef40366c Fix the bug in GenSec tool, the nonexist file can't be parsed correctly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5192 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-09 08:45:41 +00:00
jwang36 58f33ba9d2 Changed the path of symbol file to be always the same as vtf file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5191 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-09 08:44:42 +00:00
jwang36 aa32d1eb9f a) Added explicit banner for pass/fail indication of build
b) Fixed the issue which cause error message from FDF parser won't be printed out.
c) Fixed the error message format of FDF parser
d) Changed the exit code of build tool from always 1 to error code, if error occurred


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5186 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-08 13:21:37 +00:00
klu2 adf74fc6b2 Fix typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5184 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-08 06:25:45 +00:00
klu2 1f4dfdd962 Add ASM16 tool configuration for MYTOOLS tag.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5181 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-08 04:12:33 +00:00
klu2 d61444c8c8 Update GenBootSector tools' binary for tool code cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5172 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-07 05:09:52 +00:00
klu2 65a18d1ac2 Update BootSectImage and GenBootSector tools' binary for DUET platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5167 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-05 08:45:07 +00:00
jwang36 714e8111b7 Fixed an issue which would cause build failure in some corner cases.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5148 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-29 06:54:10 +00:00
jwang36 48014aedba Made it working
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5139 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-28 08:11:51 +00:00
jwang36 2a3ce6dd17 Added python wrapper of EFI (de)compressor
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5134 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-28 03:54:58 +00:00
lgao4 8067d3032c Correct the bug to ignore the encapsulated section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5122 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-24 07:44:04 +00:00
jwang36 54b8514b27 Fixed an CR/LF issue in FDF file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5121 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-24 07:22:35 +00:00
jwang36 e645aacd53 Fixed several typo in variable names
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5120 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-24 07:20:22 +00:00
lgao4 e00f3fe1cc 1. GenSec tool only updates output file when the contents of the output file are modified.
2. GenFfs tool checks the Pe/Te section for PEI and DXE file type. If Pe section doesn't exist, GenFfs tool will report error.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5117 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-24 04:15:36 +00:00
jwang36 4bd94693b3 Changed GenFds to use database based module/package/platform information retrieval mechanism
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5101 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-21 06:35:06 +00:00
jwang36 6a30250d8b Added several improvements for user experience
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5098 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-20 14:35:43 +00:00
lgao4 0f9d26a7dd Add the function relative address to the base address in the map file for user easy reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5096 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-18 09:16:05 +00:00
jwang36 2c1bc18a3b Fixed error data in generated listing file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5095 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-18 07:18:03 +00:00
lgao4 25ab7ab110 For MicroCode module, default copy the created image to bin directory for easy reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5087 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-18 03:08:20 +00:00
jwang36 23676585e0 Fixed an issue in calculating common dependency files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5077 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 06:42:07 +00:00
jwang36 813bfd0813 Fixed an print issue when generating listing file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5074 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 02:12:13 +00:00
jwang36 ccb2e5a64b Fixed include file matching issue if there's space in macro used in "#include".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5073 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 01:46:44 +00:00
jwang36 cdb579481a Fixed a NULL library instance issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5068 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-15 14:21:33 +00:00
jwang36 91d3ac3514 Applied macro replacement for FDF file path in DSC file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5067 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-15 08:56:02 +00:00
jwang36 4e4a057b72 Fixed a NULL library instance issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5065 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14 07:21:32 +00:00
jwang36 409ff67707 Fixed build error if there's more than one NULL library instances for a module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5059 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14 03:20:00 +00:00
jwang36 23acc9566c Fixed an issue in top level makefile which missed a 'cd' command and will cause build failure on some platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5041 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 02:16:18 +00:00
jwang36 7859df05bc Fixed a typo in variable name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5036 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-10 05:38:25 +00:00
lgao4 a36e1ce43c Add more usage description for -r option, and add option keepexceptiontable and keepzeropending not to remove exception table and zero pending data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5035 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-10 04:07:42 +00:00
jwang36 0216f62085 a. Improved build launch performance and fixed tons of bugs
b. Employed antlr to parse dependency expression for better syntax error check

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5032 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 14:14:14 +00:00
jljusten ed4c327ca3 edk2/BaseTools:
Reference BaseTools source for gcc instructions & scripts.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4997 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-07 16:29:26 +00:00
lgao4 07a0a7f25c Correct one bug when add pad file may cause size exceed the region.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4979 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 07:18:04 +00:00
lgao4 b900faa235 Enhance GenFw tool to always zero .pdata section for PE32 and PE32+ image in order to improve compression ratio for them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4971 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-31 05:25:03 +00:00
jwang36 eba88b794e Changed per the recent update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4942 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 06:14:01 +00:00
lgao4 4a73341484 Correct Error Message format for these C tools according to the Tool Design Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4918 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 09:22:18 +00:00
jwang36 7de83e3598 Fixed an incompatible issue in StrGather, which will cause undefined string tokens if R8 modules doesn't have their source directory in include search path list.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4859 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 05:59:16 +00:00
lgao4 4ee8254a0c Disable unused C++ EH and RTTI feature by adding /GX- option for VC7 and adding /GR- option for VC8.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4849 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-14 03:12:29 +00:00
lhauch 5b4756eacc Fixing gcc CC Flags and ld flags - adding map
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4847 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-13 20:46:42 +00:00
jwang36 f4c0826f4a Added "extern int __make_me_compile_correctly;" for R8 modules in AutoGen.c because it may be empty.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4845 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-13 09:09:57 +00:00
lhauch c2192d9324 changing shortcut name to descriptive names for grouping librarys
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4842 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-12 14:08:12 +00:00
jwang36 49c8e7794e Merged bug fix (HSD200972) by Hess
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4786 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-04 06:36:01 +00:00
jwang36 c5b5c41187 Tried to fix an issue which will cause file access error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4785 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-04 01:38:31 +00:00
jwang36 edf96db44a Re-built python tools with Python2.5.2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4783 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-03 03:09:31 +00:00
jwang36 bc4cb041a3 Rebuilt per the Hess's bug fixes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4781 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-29 07:30:55 +00:00
jwang36 f7f0d9e8bb Merged Jordan's update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4780 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-29 02:19:21 +00:00
jwang36 6b36020056 Fixed dependency expression issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4779 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 12:54:18 +00:00
jlin16 3531be0158 GenFds.exe adapt to new build database structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4768 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 08:46:21 +00:00
jwang36 f4b5ed0e71 Fixed HSD200760:
Gendepex tool should handle merging of GUID in the final bianry

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4767 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 07:26:54 +00:00
qhuang8 83be5e88e7 Fix the following issues: (base tools source r1024)
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://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4766 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 07:12:19 +00:00
jwang36 c47698067e Fixed a binary file support issues which will cause exception in tools when building library modules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4764 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 05:39:46 +00:00
lgao4 94cb0cfbcd Update platform build tools by adding input parameter check and guid format check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4759 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 09:21:46 +00:00
lhauch ad42b17a75 Fixed option name, ForceRebuild
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4748 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-22 16:37:53 +00:00
lhauch 8014e7ceb0 Removed newbuild option from edksetup.bat command-line, this is now the default.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4747 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-22 16:31:23 +00:00
jwang36 34d675a0c9 Fixed mismatched command line switch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4744 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-22 02:52:37 +00:00
lhauch 01c665a0a8 Fixed VFR flag to: --no-pre-processing
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4743 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-22 00:22:32 +00:00
jwang36 87acd19c6d Standardized the command line options of VfrCompile.exe and changed its uses in build_rule.template.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4740 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-21 00:50:13 +00:00
jwang36 e2336e3968 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://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4705 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-19 06:39:47 +00:00
jwang36 f9619f52af Added "-nopp" to VfrCompile.exe tool to bypass the preprocessing on input file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4698 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-18 01:35:38 +00:00
jwang36 f4ccac6a8f Incorporated the latest UEFI compatible VfrCompile.exe, which supports bypassing the preprocessor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4697 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-18 01:34:59 +00:00
jwang36 65803b123f Improved the file creation speed during incremental build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4696 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-15 07:49:17 +00:00
jljusten b9a615fa77 Under the buildtools.tianocore.org BaseTools tree, we are renaming
BaseTools/PseudoBin to BaseTools/BinWrappers.

This change requires an update in the buildtools source (BaseTools 
directory) as well.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4690 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-13 22:44:22 +00:00
qhuang8 b7fc5c8937 Remove non-existing files reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4658 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 15:12:19 +00:00
jwang36 1fcf530c94 Fixed an unicode file parser issue which will remove the "\r\n" in the string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4631 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 02:23:42 +00:00
jwang36 4bd97476a9 Rollback to last revision. No need to enforce the ARCH for 'CompilerStub' library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4629 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 08:50:03 +00:00
jwang36 354a7e2065 Enforced "CompilerStub" for IA32 and X64 arch only
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4628 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 08:35:57 +00:00
jlin16 7113867d54 using R8 component type when choosing rule for INF in FDF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4616 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-23 08:35:52 +00:00
jlin16 8997292fb8 Support R8 modules in GenFds.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4615 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-23 05:40:47 +00:00
jwang36 b7737ae527 a. Merged the recent improvement on R8 modules build
b. Fixed an issue which library instance without supported module type will be selected.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4605 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 03:08:25 +00:00
qwang12 c03fbe30c1 UEFI HII: Merge UEFI HII support changes from branch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4596 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 14:30:48 +00:00
jwang36 0657905748 Fixed an issue which caused incorrect value of PCD from FDF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4499 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 08:01:45 +00:00
jlin16 900faff93e Add !include statement support in GenFds.exe which makes FDF file could include other file contents at any position in FDF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4497 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 04:57:34 +00:00
lhauch fa7f89da6f modified the UNIXGCC information
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4492 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-03 21:41:41 +00:00
lhauch e26b8dca3f Fixed some of the comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4491 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-03 21:29:07 +00:00
lhauch fbf822439a Modified BINUTILS_URL to point to mirrors.kernel.org, added comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4490 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-03 21:28:34 +00:00
lhauch ab9281201a fixed paths for UNIXGCC tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4489 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-03 21:01:44 +00:00
jlin16 4cb5bc51fc scroll back to old HII component.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4485 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-03 09:44:55 +00:00
jlin16 b7bef2a9fb Add depex section generation feature for GenFds.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4478 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-03 03:37:54 +00:00
jwang36 b2696f2fa4 Updated the revision number of build tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4460 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-02 03:25:49 +00:00
jwang36 2d60f29c21 Fixed a bug which caused the PCDs inherited from libraries cannot be overridden under [Components] in DSC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4459 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-02 03:24:17 +00:00
jwang36 63245e966f Added $(ASL_FLAGS) to $(ASL) command line
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4445 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-28 05:31:13 +00:00
lhauch 41ca88052a fixed a typo - GS8192 should be Gs8192
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4444 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-28 00:03:12 +00:00
lhauch f260433e67 Added QIPF_fr32 flags to IPF CC flags, neede by UEFI ABI for Itanium
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4443 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-27 21:05:46 +00:00
jwang36 106c688f93 Fixed out-of-date contents (PVCS tracker 732)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4434 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-25 09:23:17 +00:00
jwang36 d78f8ac7ee Fixed typos (PVCS tracker 749)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4433 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-25 09:17:00 +00:00
jwang36 1c2c04dfea Fixed typos (PVCS Tracker 750)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4432 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-25 09:15:38 +00:00
jwang36 b3354570af Added component type to module type mapping between "PE32_PEIM" and "PEIM" for R8 modules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4429 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-24 05:39:24 +00:00
jwang36 f71c1d39e4 Changed the NMAKE path from VS2003 to VS2005 for ICC tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4424 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-24 02:51:41 +00:00
jwang36 58ce61eb5d a. Enabled building R8 modules
b. Always inherit library's [depex] if there's no dxs file declared in module's inf file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4419 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-22 16:58:04 +00:00
jwang36 965e8d54d9 Re-generated per the bug fixes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4394 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-13 07:04:08 +00:00
jwang36 1f89f78983 Removed commented out lines
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4393 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-13 05:22:22 +00:00
jwang36 d5e481791d Added X64 compiler build script
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4392 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-13 05:19:41 +00:00
jwang36 c504fc2d4c Made it executable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4391 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-12 07:34:39 +00:00
jwang36 64cf8bc004 Changed the ICC tools to use VS2005's tools and dlls because of crash of ICC working with VS2003.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4390 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-12 03:50:49 +00:00
jljusten 1f83807697 Built with vs.net 2005 from
https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools r920.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4389 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 22:38:26 +00:00
jljusten 3e9fbbfb07 deleted edk2/BaseTools/Bin/Darwin:
deleted edk2/BaseTools/Bin/PosixLike:
  Moved (as of buildtools r920) into
  https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/PseudoBin


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4388 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 09:36:25 +00:00
jljusten 2dffc141fb modified edk2/BaseTools/BuildEnv:
Minor cleanup:
    Conf/BuildEnv.sh2 -> Conf/BuildEnv.sh


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4387 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 09:12:40 +00:00
jljusten 66dcb2f08a modified edk2/BaseTools/BuildEnv:
deleted  edk2/BaseTools/BuildEnv.py:
  Resolve https://edk2.tianocore.org/servlets/Scarab/id/EDKT557
    "All code in the edk2 tree must not require third party tools
     for running the provided tools."
  which refers to the usage of python by BuildEnv.py.

  /sigh


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4386 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 09:03:30 +00:00
jwang36 0b67ae168e Updated this script to use the latest binutils and cygwin because the old versions of them are not available.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4382 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 02:06:55 +00:00
lgao4 f1d73e29d3 Fix one minor bug to print TE image correct start address into Fv map file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4377 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 06:23:49 +00:00
jwang36 256a0cc3c2 Re-generated because of AutoGen changed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4375 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 03:05:09 +00:00
jwang36 069cb38f00 Fixed default Token Number missing issue and default sku value issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4371 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-07 09:58:25 +00:00
jwang36 ff1fc29f92 Added support of calculating the string size for PCD with datum type "VOID*", if its MaxDatumSize is not specified.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4370 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-07 06:00:17 +00:00
jwang36 82ffa27185 Added 'DEFAULT' sku id for dynamic PCDs not found in DSC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4369 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-07 05:16:46 +00:00
jwang36 bc8306fc55 Fixed bugs of
708 - Incorrect PCD type used if the PCD is not defined in DSC file
    715 - Incorrect library instance used for DAG algorithm
    717 - Incorrect function prototype used for calling 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4362 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 07:32:49 +00:00
jwang36 df80da0460 Fixed an incorrect use of EdkLogger.error() which will cause incorrect message if there are two dsc files in the same directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4352 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30 09:57:11 +00:00
jwang36 3dd6d16a88 Fixed the build issue when multi target specified, for example both DEBUG and RELEASE are specified in target.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4351 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30 09:29:15 +00:00
jwang36 fc22e99aa3 Fixed a library constructor order issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4347 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30 07:14:35 +00:00