Commit Graph

262 Commits

Author SHA1 Message Date
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
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
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
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 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 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
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 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 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 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 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
jwang36 f20ffb9ad3 a. Revised error message for a module that is not required by a Platform when building just the module
b. Remove "/" or "\" following $(WORKSPACE) before getting real path when parsing DSC files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4304 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-19 08:24:41 +00:00
jwang36 4bf477810f Fixed the dependency issue on wrong name of makefile.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4291 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-08 03:57:35 +00:00
jlin16 79492e5f39 Strip the relocation section for SEC, PEIM and PEI CORE typed files, according to relocation strip flag in FDF file and shadow flag in INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4280 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-07 05:59:12 +00:00
jwang36 44e3ff2f23 a. Fixed an issue which a incorrect command (no leading space/tab) generated in top level Makefile
b. Added code to check zero thread number and disable multi-thread build mode if zero thread number.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4251 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 10:35:08 +00:00
jwang36 04e031d000 a. Changed MYTOOLS to use Visual Studio Team Suite for IA32 and X64. IPF is still use WINDKK.
b. Re-generated build.exe and GenFds.exe to incorporate new changes of build tools
c. Enable multi-thread build mode by default


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4246 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 09:07:31 +00:00
jwang36 48cc75952c Fixed build issue when building individual module with unsupported architectures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4190 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22 09:08:11 +00:00
jwang36 07fdb39deb a) Added support of breaking build when no library instance is found for a library class.
b) Added support of use PCD value from DEC/INF file if it's not defined in DSC file but defined in an INF file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4189 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22 06:53:10 +00:00
jlin16 c35a9c1d25 passing -v and -d options to c tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4184 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19 11:07:42 +00:00
jljusten 07a756b95e Restoring $WORKSPACE/BaseTools location, as the plan is to deprecate
$WORKSPACE/Tools instead.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4147 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-17 01:54:36 +00:00
jljusten 8b2d58875a Moved $WORKSPACE/BaseTools to $WORKSPACE/Tools/BaseTools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4142 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 20:56:54 +00:00
jlin16 92d1603827 change location of FvAddress.inf to FV\Ffs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4133 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 13:47:21 +00:00
jwang36 72b8a1a8ba a) Fixed single module hang issue when using spawn mode
b) Fixed FD generation failure issue when in multi-thread mode
c) Added code to check if MAKE command is defined or not


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4096 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 14:52:56 +00:00
jwang36 b7509087b0 a) Supported MAKE command in tools_def.txt
b) Cleaned several message strings in code
c) Solved hang issue when the build.exe is broken by Ctrl+C
d) Added more specific information for "-v" option of build.exe
e) Added "-v"/"-d"/"-q" option for GenFds.exe in makefile if build.exe is called with one of them.
f) Removed the calling to vsvars32.bat and added "--nt32" option in edksetup.bat because the nmake.exe's path has been put in tools_def.txt and build.exe will use that information to call nmake.exe
g) Removed the calling to vsvars32.bat in BaseTools/toolsetup.bat


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4091 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 08:58:33 +00:00
mdkinney 9c1c9f1ba8 Only report a circular dependency between library constructors if the total number of constructors > 1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4082 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 18:56:13 +00:00
jwang36 870beba32f Fix bug of UI override not take effect for INF.
Fix bug of FD "shrink" for Lakeport platform.
Error report format change for FDF parser.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4078 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 08:48:24 +00:00
jwang36 3b1e58ef92 Fixed build hang issue in multi-thread mode and in configuration loading error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4045 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08 10:27:52 +00:00
jlin16 884bb16075 Add support for MACRO in key string list of INF.
stop GenFds when GenVtf error occurs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4044 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08 09:53:37 +00:00
jwang36 ced44f7370 a. Fixed unnecessary re-build issue
b. Fixed build.exe won't exit issue when error occurred in multi-thread build mode.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3986 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 09:49:24 +00:00
jlin16 53b6246146 Add MACRO support for path in FDF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3979 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 06:59:25 +00:00
jwang36 de0f811d4a Fixed an issue that is the auto-generated code for dynamic-ex PCD is not correct
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3974 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 01:46:24 +00:00
jwang36 5364ee3303 Fixed an issue which DSC file in current directory has higher priority than DSC file set in target.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3951 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 09:34:58 +00:00
jwang36 2f1b3cb20e 1) Improved spawn mode (multi-thread) build performance
2) Changed the error/debug/warning message format
3) Added "--log" command line option to support storing log in file


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3947 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 08:30:39 +00:00
klu2 b4b771c91b Modify PEIM's entry point
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3936 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 04:57:28 +00:00
jlin16 c6d9c4d190 GenFds.exe add feature of Capsule generation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3926 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-26 08:57:28 +00:00
jlin16 b6001acc8e Add support of INF file in FDF that describe binary files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3911 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-21 12:24:55 +00:00
jlin16 e27dccb781 Fix APRIORI file missing FILE statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3903 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-21 03:43:19 +00:00
jlin16 dfa235c55b Add feature of Apriori file generation for FV.
Fix single FV generation error on Nt32.
Print error message when FV size is larger than region size.
Print error message when GUIDed section specify a wrong tool GUID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3898 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-20 08:07:33 +00:00
jwang36 4d062cead8 Enabled "fds" build target for build.exe and added "-r" and "-i" options to support individual FD or FV build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3884 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-18 09:17:04 +00:00
jwang36 8a0151cb4c Fixed the wrong usage of ENV()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3842 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 05:50:54 +00:00
jwang36 ae0145cb90 1) Fixed the issue which macro in the form of ENV() can't be replaced.
2) Changed the class-less library instance format


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3839 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 05:13:35 +00:00
jwang36 46d665d690 1) Implemented MACRO in tools_def.txt
2) Added library without library class support
3) Fixed the issue in Trim tool which zero file will be generated if the trimmed file has not line directive

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3832 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-13 09:33:05 +00:00
jjin9 59565b2e40 fix a bug which blocks the build process.change os.path.isfile to os.path.isabs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3809 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-13 01:26:40 +00:00
qhuang8 cd7e9a3342 Re-fix the issue in r2304.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3808 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 13:29:06 +00:00
qhuang8 b6adf2c1fb Fix a typo so that platforms without FDF file can pass build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3807 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 12:26:45 +00:00
qhuang8 ccde0b6680 Fix typos
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3806 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 11:20:51 +00:00
qhuang8 97582b3182 Fix several typos in build.py and regenerate exe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3805 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 11:12:30 +00:00
klu2 5aae0aa7d8 PI Enable:
1) The entry point of PeiCore has been changed to EFI_PEI_CORE_ENTRY_POINT defined in PI. 
2) Nt32, Tiger and lakeport platform's SecCore has been updated.
3) Autogen tools also has been updated.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3804 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 09:52:37 +00:00
jlin16 2303536ca1 Fix typo in build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3803 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 09:13:50 +00:00
lgao4 641ff7aa8d Commit build.exe and GenFds.exe tool to support new Rules format and PCD format defined in FDF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3789 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-10 05:44:04 +00:00
klu2 c2f2fde67e Upgrade the format of EFI_PEIM_ENTRY_POINT to EFI_PEIM_ENTRY_POINT2 according to PI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3785 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-07 05:41:07 +00:00
jwang36 89d96039a2 1. Added support of included file with macro
2. Removed package a module belongs to from dependent package list if it's not declared in module's INF

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3753 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-31 05:05:44 +00:00
qhuang8 b3af5df67b Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC spec 0.41, DSC spec 0.40.
Mainly PCD syntax update.
Check in new build.exe and GenFds.exe
Check in PcdSyntaxUpdate.exe tool. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3744 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 09:11:54 +00:00
jwang36 d60db64055 Fixed incremental link issue, which dependent libraries were not taken into account.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3689 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-22 09:29:30 +00:00
jwang36 dce323a67c Re-designed build_rule.template and updated build.exe to support the new format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3677 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-18 03:54:24 +00:00
jwang36 8edf7e980a Incorporated Mike's fix on gEfiCallerGuidId definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3640 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-15 02:26:05 +00:00
qouyang 07c01787e3 Fix bug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3639 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 10:26:52 +00:00
jwang36 45655bacc9 Fixed an issue of PCD under [Components] in DSC file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3627 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 10:18:49 +00:00
jwang36 569f0fe6b8 Fixed a bug in parsing <PcdsDynamic> of <Components> in DSC file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3623 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 07:27:02 +00:00
jwang36 62271ed6b8 1. Incorporated FDF parser fix
2. Fixed library instance search issue
3. Fixed value format issue of UINT64 type of PCD


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3621 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 06:07:25 +00:00
jwang36 c4400818d2 Fixed an issue in referencing DatumType in AutoGen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3619 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 03:51:20 +00:00
jjin9 64d3b0e13c fix a issue for TARGET_ARCH
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3613 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-12 05:32:20 +00:00
jwang36 d17bb5c332 1. Added architecture override option for GenFds command in top level makefile
2. Added new log method

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3597 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-09 16:00:39 +00:00
jwang36 5d57e86caa Fixed library instance selection issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3595 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-09 09:11:21 +00:00
jwang36 9f6bb5f693 Changed the output format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3571 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 09:54:52 +00:00
jwang36 f3f152e824 Fixed BDS display issue caused by unicode file parse
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3568 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 07:21:35 +00:00
jwang36 65ddc26edc 1. Fixed STRING_TOKEN() matching issue during unicode file parsing
2. Added "#include" support in unicode file
3. Removed an non-existing unicode file included in MiscSubclassDriver.uni


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3566 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-07 10:03:39 +00:00
jwang36 c8db3056ec Fixed derived DEPEX issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3543 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-03 06:31:37 +00:00
jwang36 2115deb3ce Roll back to r3528
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3535 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-03 02:36:06 +00:00
jwang36 84600c365d Fixed issue in Dynamic PCD in dependent library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3532 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-02 09:14:54 +00:00
jwang36 2127f4dff2 Fixed PCD Sku VariableGuid error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3528 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-02 04:53:50 +00:00
jwang36 6b4fe92ad9 1. Generated new build.exe from new tools code
2. Removed some duplicated includes in source files
3. Changed the source file format in INF files
4. Removed duplicated PCDs in MdePkg.dec


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3520 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-01 08:45:32 +00:00
jwang36 d58f90fb9f Per the requirement of GenFv tool, added command to copy *.map file to $(OUTPUT_DIR)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3513 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 08:37:59 +00:00
jwang36 f48e6ea393 Changed the .lib file directory from public LIB_DIR to private OUTPUT_DIR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3512 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 07:46:16 +00:00
jwang36 6e8d441d44 There's still bug in library summarization code. Fixed now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3511 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 03:46:28 +00:00
jwang36 a5370b7415 Fixed the library instance filter issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3509 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 02:08:37 +00:00
jwang36 517655ccea Fixed issue in filtering supported module type for library instance
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3508 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-31 02:00:55 +00:00
lhauch a4e891f4c6 Set the svn:executable property on all *.exe files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3506 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 23:08:38 +00:00
jwang36 840d59b645 Fixed dynamic PCD autogen issue for LakeportX64
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3503 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 10:05:42 +00:00
jwang36 c55eb6ed1f Fixed the missed parameter of GetGuidValue()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3501 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 09:11:13 +00:00
jwang36 c0b30ab849 Removed "self." from GetGuidValue() method since it's global
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3500 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 09:03:54 +00:00
jwang36 434c69b7cc Fixed a typo in PCD type
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3498 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 08:25:46 +00:00
jwang36 eca7eaf49b Fixed TokenNumber issue for DynamicEx type of PCD
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3491 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 02:34:47 +00:00
jwang36 8b105003d7 Fixed library instance incomplete issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3483 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 07:08:58 +00:00
jwang36 8fca1f0545 Fixed library instance issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3480 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 06:22:54 +00:00
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