Commit Graph

308 Commits

Author SHA1 Message Date
jwang36 892f21378b Fixed tool chain error when building single module for platform with more than one arch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3463 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 01:28:37 +00:00
jwang36 7329b0c500 Fixed an issue in building single module for platform with more than one arch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3460 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 00:17:41 +00:00
jwang36 035028de3c 1. Added more check on module ARCH
2. Changed relative directory to absolute directory of dsc file passed to GenFds in top level makefile

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3455 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-26 09:58:00 +00:00
jwang36 344e92420f 1. Fixed PCD MaxDatumSize issue
2. Fixed WORKSPACE build directory creation issue

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3441 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 07:57:57 +00:00
jwang36 804c081d69 1. Fixed PCD SizeTable issue in AutoGen.c
2. Added ACPI table module support
3. Added USER_DEFINED support for SEC module


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3434 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 06:13:03 +00:00
jwang36 effbb3a79e 1. Added more error check
2. Removed the generation of ASM_PFX macro in AutoGen.h
3. Changed gCallerIdGuid to the type of GUID in AutoGen.c
4. Added "extern gCallerIdGuid" and EFI_CALLER_ID_GUIDin AutoGen.h
5. Changed output directory of EFI file to DEBUG_DIR
6. Added "if exist"/"test -e" before creating/removing directory command


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3412 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 06:07:25 +00:00
jwang36 2cabdfc6a1 Put a copy of efi file in OUPUT directory also
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3398 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-23 03:31:15 +00:00
jwang36 9462d55086 - Changed output directory of .efi file;
- Added more error check

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3397 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-23 03:02:24 +00:00
jwang36 470bbb2942 Fixed GCC link issue and vfr build issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3385 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 05:30:43 +00:00
jwang36 c417dbcf5e Fixed EBC build error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3367 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 09:42:37 +00:00
jwang36 aced30c670 Fixed another typo in PCD autogen template string
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3360 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 07:59:09 +00:00
jwang36 fcc7efa0d8 Fixed a typo in PCD autogen template string
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3358 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 07:37:34 +00:00
jwang36 07fdd22d9d Removed unnecessary debug message
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3357 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 06:41:45 +00:00
jwang36 1487000144 Temporary fix for bug in building platform for more than one arch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3356 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 06:35:58 +00:00
jwang36 a82cae466b Added more error check
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3350 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 04:57:55 +00:00
jwang36 ca451dba10 Added GCC (CYGWIN only) tool chain family support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3332 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 15:23:51 +00:00
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
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
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
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
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
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 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 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
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
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
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 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
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