Commit Graph

262 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
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
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 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
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
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 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
klu2 543cecc301 Use "GLOBAL_REMOVE_IF_UNREFERENCED volatile" for variable of binary patch PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6712 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 17:57:43 +00:00
qwang12 1459f3cd48 1) StrGather (Build.exe) in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output.
2) VfrCompiler in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output.
3) HII Thunk module nows support Narrow Font registered using Framework New Pack HII interface.
4) Fix a bug in IfrLibCreatePopUp2 by updating the prototype. The previous way of using VA_START to get the address of parameter in the argument list and expecting the parameters that follows will be found using VA_ARG macro is wrong. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6671 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 15:07:14 +00:00
jwang36 d4a20ec9dc Changed the way to compare the content of AutoGen with the file to be generated from it. This is to solve the re-generation issue of AutoGen files because of the newline format is different between the internal representation and the file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6658 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 04:38:01 +00:00
jwang36 6ae2cf5c0f Changed file line format of AutoGen files to native style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6640 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 02:00:07 +00:00
jwang36 b21f3994c7 Removed GLOBAL_REMOVE_IF_UNREFERENCED for patchable PCD because it will cause that patchable PCD variables information won't be in the map file generated by linker.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6617 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 02:25:50 +00:00
jwang36 c555018670 Fixed HSD 201877: 'END' in [depex] caused GenDepex failure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6501 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:37:47 +00:00
jwang36 74c90c7e47 a. Allowed flags of tools not defined tools_def.txt
b. Added BUILD as internal tool to pass compatible mode of unicode to build tool.
c. Added support of [Depex.common.<ModuleType>] in inf file
d. Added more optimization, especially for architecture protocols, in GeDepex tool
e. Fixed the generation of _gPeimRevision and _gDxeRevision global variables in AutoGen.c according to new MdePkg spec.
f. Changed the header file of DxeSmmeEntryPoint.h to UefiDriverEntryPoint.h in AutoGen.c since it's no longer exist.
g. Fixed $(PROCESSOR) macro replacement issue in [nmake] section


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6452 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 08:37:20 +00:00
jwang36 498a6d9883 Fixed an issue which caused incorrect path generated when validating
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6438 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-10 05:54:23 +00:00
jwang36 d2ef2ab552 Fixed build failure of R8 modules with uni file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6310 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 09:57:36 +00:00
jwang36 9df87888de Performance improvement on startup of build.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6289 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 03:14:10 +00:00