Commit Graph

213 Commits

Author SHA1 Message Date
jwang36 9f8f4f8733 Fixed Unicode-Text file type issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3317 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 07:14:24 +00:00
htao 497127ac4d change Assert to normal error exit.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3314 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 06:53:29 +00:00
jwang36 b1f7ad6671 Improved the file type filter
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3313 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 06:50:31 +00:00
htao 523bc716fb tool binary update to add binary size parameter check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3312 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 06:37:01 +00:00
htao 7b6c742066 Check in EfiRom and TianoCompress tool binary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3309 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 03:08:09 +00:00
htao f62edf33aa check in GenVtf tool binary
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3307 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 03:03:05 +00:00
jwang36 b2a462ae54 Merged with new build tool changes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3303 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 01:55:40 +00:00
jwang36 893e6ccf3b Added more error message when PCD is not found
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3299 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 09:31:27 +00:00
lgao4 77ee706ba5 Fix one bug to create pad raw section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3296 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 08:06:51 +00:00
qouyang 92b0a02995 Updated GenFds Tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3295 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 07:26:35 +00:00
qouyang 4334b98670 Update GenFds tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3294 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 07:23:11 +00:00
lgao4 f9f5af433a Change C source tool from dynamic link to static link.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3292 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 06:41:40 +00:00
jwang36 f74e8581ea 1. Fixed generated token number issue for dynamic PCD
2. Fixed EBC system library link issue

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3281 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 03:43:56 +00:00
qouyang fdaf1f92c1 Modify GenFds tools, which add one check for the return value of calling external tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3250 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-16 07:30:35 +00:00
qouyang f344beff2a Modify GenFds tools, which add one check for the return value of calling external tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3249 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-16 07:16:15 +00:00
lgao4 e9508cd216 Add more debug information into these tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3240 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-13 16:04:29 +00:00
jwang36 326e346966 Fixed missed exception message
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3214 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-12 10:27:07 +00:00
jwang36 e10faeabb4 Fixed unicode file parse issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3202 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-12 01:20:23 +00:00
lgao4 c22621b89c Add more debug info into GenSec tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3198 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-11 16:00:43 +00:00
jwang36 375da20d98 Fixed "#line" line embedded in a "struct" definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3197 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-11 09:49:33 +00:00
jwang36 deeaf00312 Added string variable declarations in AutoGen.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3189 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-11 03:27:19 +00:00
jwang36 97eb619e31 1. Fixed library instance override issue
2. Fixed empty file issue when searching dependency file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3188 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-11 03:13:08 +00:00
jwang36 0a30ba0f56 - Fixed Dynamic PCD for PEI module issue
- Added more information output in GenFds 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3177 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-10 10:57:45 +00:00
jwang36 c257af0caa 1. Refined the generated makefile
2. Added run target for NT32 platform
3. Added more error check


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3164 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-10 05:31:51 +00:00
jwang36 b51e4ee433 1. Added USER_DEFINED support;
2. Added more error check for PCD autogen


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3161 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-09 10:23:24 +00:00
jwang36 1d12eae9de Refined the build* targets
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3159 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-09 08:35:33 +00:00
jjin9 98da41e86a Don't call genc and genmake again for target(CleanALL)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3134 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-07 02:15:50 +00:00
jwang36 16687e11bf Added more functionalities
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3119 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 09:39:43 +00:00
jwang36 2cb630b10e Enabled PCD DXE/PEI module build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3104 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 07:41:51 +00:00
jwang36 a01c2c801d Fixed exit() issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3099 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 05:22:21 +00:00
jwang36 5391f20b5b Fixed a string format typo when raising exception
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3097 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 05:01:13 +00:00
jwang36 502eed2493 Added new [BuildOptions] format support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3086 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 02:12:34 +00:00
jwang36 38d3324732 1. Incorporated dll generation and active platform support in GenFds;
2. Added error checks and messages in AutoGen

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3060 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 06:13:38 +00:00
jwang36 cb842d3ae6 Not to generate GenFds when no FDF is found
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3027 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 06:46:08 +00:00
jwang36 258e731a0f Use build.exe instead
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3026 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 06:01:46 +00:00
jwang36 3a3ed4a96a Incorporated GenFds in platform Makefile
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3025 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-04 06:00:27 +00:00
jjin9 34f9235e10 upload bld.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3006 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 10:07:23 +00:00
jwang36 fc26ff846e Fixed a merge issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3003 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 09:54:37 +00:00
jwang36 bc154f914a Incorporated PCD database support and a PCD parse bug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3000 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 09:37:13 +00:00
lgao4 53f320dc75 Add GenFds tool to parse FDF file and create Fv, FD image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2997 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 09:11:49 +00:00
jwang36 5e51d10e2c Added code to remove "GUID" structure type definition in preprocessed VFR files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2993 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 08:18:53 +00:00
jwang36 2a3e0cce69 Fixed unicode parse issue and vfr file build issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2982 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 03:41:33 +00:00
jwang36 3f94b8e89a Fixed option issues in IPF assembler and EBC linker
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2953 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 09:31:51 +00:00
jwang36 230ed88385 Added CUSTOM_MAKEFILE support in INF file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2946 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 08:43:22 +00:00
lgao4 2a21647059 Update GenFv tool to correct FileState of FFS header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2939 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 07:41:24 +00:00
jwang36 536abed6ca 1. Fixed the lookup issue for GUID/Protocol/Ppi in dependent library
2. Fixed dependency file search dead-loop


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2937 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 07:04:36 +00:00
jwang36 6d2f1f24c3 Incorporated the bug fix in unicode file parse
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2926 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 02:28:10 +00:00
jwang36 3c84a28243 Added for VFR file processing
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2923 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 02:00:18 +00:00
jwang36 2ef654709f Fixed path issue in unicode file search
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2892 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 06:26:39 +00:00
lgao4 8aaff939b7 Add binary GenSec, GenFfs, GenFv tool for build fv and fd image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2890 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 05:59:10 +00:00
jwang36 95b63a24be Fixed unicode file search path issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2889 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 05:44:14 +00:00
jwang36 c5fad87e0d Fixed issue caused by the empty line with spaces in dsc file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2884 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 05:01:11 +00:00
jwang36 e44edae021 Re-generated by adding encodings.utf_16 and encodings.utf_8, which is needed by unicode file parser
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2869 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 02:51:59 +00:00
jwang36 e0dbc306dd Incorporated unicode file support. Now the AutoGen.h/AutoGen.c contain content of unicode string ID and variable definitions. The old <module_name>StrDefs.h and <module_name>Strings.c should not be used and references to these file name should be removed from module's source code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2868 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 02:21:06 +00:00
jwang36 54c9a35775 Incorporated Andrew's change
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2865 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 01:25:53 +00:00
AJFISH 3f9c2429c9 Updated the tools based on GenC.py fix for include file paths in AutoGen.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2862 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-28 20:23:35 +00:00
jwang36 32f148f8a3 1. Added depex file generation
2. Added file type filter per the toolcode/toolchain/toolchain family/etc., and fixed the BaseLib.inf
3. Added unicode file parse support but commented out temporarily because of bugs
4. Fixed the unicode file format in Nt32Pkg/MiscSubClassPlatformDxe
5. Removed duplicated [Ppis.common] in MdePkg.dec
6. Added declaration of gEfiPeiMemoryDiscoveredPpiGuid in Nt32Pkg.dec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2858 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-28 15:08:08 +00:00
jwang36 ee9aad0e90 Fixed the spaces issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2789 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 07:29:23 +00:00
jwang36 dddf39a96c Removed the "Open ..." output message when parsing dsc file; enhanced file dependency analysis to be more precise.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2743 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-26 07:41:12 +00:00
jwang36 7a7f7e47b6 Used "|" as value separator.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2741 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-26 02:48:50 +00:00
jwang36 8fc4fc3a0e 1) Incorporated generating top level makefile. Now platform build is possible (no FD generation).
2) Added GenFw.exe for EFI file generation
3) Changed the destination directory of *.template file to WORKSPACE/Conf
4) Commented out several modules in the MdePkg.dsc file since they cannot be found in the MdePkg package directory.
5) Removed the usage of WORKSPACE_DIR macro in makefile. WORKSPACE is used instead all the way.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2733 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-25 17:00:40 +00:00
jwang36 058e636e34 Changed the format of elapsed time at the end of build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2720 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 09:27:37 +00:00
jwang36 589d5eaab3 Added for new build system. Just for module porting purpose. Don't use it in normal build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2705 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 06:22:16 +00:00