Commit Graph

487 Commits

Author SHA1 Message Date
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