Commit Graph

437 Commits

Author SHA1 Message Date
jwang36 2696392b1e Fixed file path issue if the WORKSPACE is the root of a drive (generated from source r1506)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7753 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 05:55:25 +00:00
jwang36 63418eb7d0 a. Allow different types PCD declaration in dec file
b. Generated from source r1505

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7745 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 12:53:39 +00:00
jwang36 1a6c62bb0d Frozen from source r1503: added quote marks for the reference of $(MAKE) to avoid build failure because of space in MAKE path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7731 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-28 07:09:00 +00:00
jwang36 a9f61fc3d0 Added the definition of $(MAKE) macro back into top level makefile for the sake of nmake.exe in Visual Studio 2003.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7722 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 16:10:19 +00:00
lgao4 b3bf1e80c8 Update GenFv tool to support creating PI extension FV header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7668 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 06:28:42 +00:00
jwang36 7e6142874d 1. Fixed the issue which string ID, $LANGUAGE_NAME and $PRINTABLE_LANGUAGE_NAME, were generated if "#langdef" is not in the first uni file.
2. Fixed the issue which "//" would be taken as comment in PCD value in DSC file.
3. Generated from source r1500

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7662 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 17:15:45 +00:00
jwang36 16cbc58005 Fixed single module build failure issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7545 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-19 10:00:25 +00:00
jwang36 9a99b39e56 Fixed an issue caused by passing string of fdf file path
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7542 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18 14:15:15 +00:00
jwang36 56cdcbe1a5 Fixed the failure caused by specifying fdf file via "-f" switch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7541 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18 12:10:56 +00:00
jwang36 510750f5cf 1) Fixed silent mode issue in Linux.
2) Fixed customized build issue in Duet.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7532 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-17 04:14:58 +00:00
jwang36 a7d376877f 1. Use FAMILY defined in *_TAGNAME_*_*_FAMILY as the toolchain family
2. Force file name case check in Windows
3. Consolidate file/path operations
4. Support binary file type in build_rule.txt
5. Generate $(FILE_TYPES) macro only when it's used in build_rule.txt
6. Fix HSD202142 and HSD202144
 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7529 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-16 13:37:23 +00:00
jwang36 70e5ca2731 Fixed a PcdEx AutoGen bug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7358 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 08:37:07 +00:00
lgao4 9d35ff8b32 Enhance GenFw tool to zero PeImage .xdata section (free form exception data) unused in BIOS, which can increase the compression ratio for the BIOS image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7321 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 01:50:10 +00:00
jwang36 d95ecf491b Using share mode to create file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7251 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 05:43:25 +00:00
jwang36 dacae1e8f8 Test version for performance concern.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7249 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 03:35:05 +00:00
jwang36 0ae247182a Fixed the out-of-sync issue of AutoGen-ed files in Windows platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7248 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 08:03:23 +00:00
jwang36 0c9ee2af3f Change the name of extension
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7246 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 06:12:10 +00:00
jwang36 5884bab5eb A test version making use Windows API to create AutoGen files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7244 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 05:44:06 +00:00
jwang36 67d1416a43 Roll back to normal version
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7240 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 02:15:03 +00:00
jwang36 afa5db88b0 A trial version making use of pywin32 api to create file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7239 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-11 08:21:41 +00:00
jwang36 8444320250 test version
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7238 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-10 13:05:21 +00:00
jwang36 cad8a80c0c Try to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7237 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 09:17:00 +00:00
jwang36 eb9b26e549 Final test version (GC plus bufsize=1) trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7236 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 08:01:03 +00:00
jwang36 e5ea66ab92 Another test version (using low-level api provided by os module) trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7233 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 07:33:29 +00:00
jwang36 ec7def69bf Another test version (using garbage collection to do cleanup) trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7231 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 06:54:39 +00:00
jwang36 b3ff502f6d Another test version (using bufsize=1) trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7227 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 05:36:20 +00:00
jwang36 8ec30b14c8 Another test version (using glob to check file existence) trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7226 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 05:20:11 +00:00
jwang36 88f185a232 Another test version (sleep in main loop) trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7225 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 04:57:59 +00:00
jwang36 7dd12c93b4 Another test version (using windows's specific 'c' open mode) trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7224 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 04:39:56 +00:00
jwang36 99f9af5afc Another test version trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7222 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 03:34:11 +00:00
jwang36 c52a147b40 Another test version trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7221 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 03:00:21 +00:00
jwang36 8578c9a1d1 Another test version trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7205 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 02:06:29 +00:00
jwang36 44feaa765a A test version trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7200 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 06:27:50 +00:00
jwang36 2eab98c107 1) Re-fine and fully test the mechanism of getting over the long command line limitation
2) Change the -s option from "SpawnMode" to be "SilentMode"
3) Change the prototype of PeiCoreEntryPoint in AutoGen-ed code
4) Remove CalcDeps module since it's no longer needed.
5) Remove "-k", "-g" and "-l" switches from build
6) Remove MULTIPLE_THREAD in target.template. Use MAX_CONCURRENT_THREAD_NUMBER to get the functionality.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7158 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-31 05:53:26 +00:00
klu2 f65aced166 Correct binary tools for generating DUET image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7135 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-26 07:56:49 +00:00
jwang36 d20c09b282 Fixed an issue which would cause build failure if there's more than one option input to $(MAKE) command.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7079 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-18 08:19:28 +00:00
jwang36 aceceae816 Always add files in [Sources] section to search list for string ID
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7046 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 13:15:03 +00:00
lgao4 6b9b954c40 Update GenSec tool to always create output file without check file content.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7030 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 07:39:56 +00:00
jlin16 619c3f0826 GenFds will try to deduce 'Target_Toolchain_Arch' KeyStringList for GUIDed section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7027 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 07:10:49 +00:00
jwang36 7bfde65c79 Add incremental support for FD and Capsule generation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7018 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-13 12:52:46 +00:00
jlin16 96dcf1973f GenFds enable display FV space information when incremental build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7012 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 06:51:49 +00:00
jwang36 2b366ba67d 1) Search value of Guid/Protocol/PPI in inf file only in the same category in dec file.
2) Pass all files in a module's directory to StrGather for R8 modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7009 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 06:22:53 +00:00
jwang36 1b0ea113a3 1) Separate the AutoGen code for PCDs between module and its library instances. Only macros for module's PCDs will be put in AutoGen.h. Others will be put in AutoGen.c. This is intended to catch missed PCDs in inf file more easily.
2) For better compatibile between C standards or C compiler, add type cast for PCD constants in AutoGen.h according to the PCD datum type.
3) Add incremental generation capability for FV in GenFds tool.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6930 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 07:13:26 +00:00
jwang36 ed21ba850d Added a feature to print out storage layout in lst file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6844 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 09:08:00 +00:00
jwang36 749adca550 Re-generated with the latest source code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6841 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 07:36:13 +00:00
jwang36 06b360150c a. Added a feature to allow override tools option via "==" in metafile.
b. Removed the AutoGen.c generation for R8 module without unicode file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6828 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 04:57:45 +00:00
jwang36 0e4d589e91 Fixed regression bug HSD201375
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6780 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29 12:20:14 +00:00
jwang36 b3b6a070d0 a. Fixed R8 module build issue for EBC arch
B. Fixed issue in trimming preprocessed VFR file with no space between "struct" and open "{".

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6771 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28 06:09:25 +00:00
lgao4 abf1c3e47f Check In Build.exe and tools_def.template
1. Declare entry point, constructor into AutoGen.h
2. Create ModuleNameStrDefs.h to contain uni code string ID. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6762 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 09:15:52 +00:00
jwang36 35a646e204 Fixed an incorrect PCD type string conversion
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6724 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 09:59:02 +00:00