Commit Graph

273 Commits

Author SHA1 Message Date
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
jwang36 f40a038076 Fixed incorrect function prototype in AutoGen.c for PEI modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6272 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 09:40:43 +00:00
jwang36 82adad58b5 1. Fixed bugs of HSD bug trackers 201729, 201670 and 201601
2. Improved the screen output when in quiet build mode
3. Added "tbuild" target in makefile in order to not created directories in makefile. Instead, they will be created in build tool. This will give better build performance, especially in incremental build.
4. Added space check in WORKSPACE and OUTPUT_DIRECTORY (in dsc file) directory name and give error message if found.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6269 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 08:22:50 +00:00
qhuang8 e27dd4e956 Regenerate build binary (based on BaseTools r1333) to include some missing encodings to avoid build crash when generation the final image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6188 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-22 14:05:17 +00:00
hche10x aff8fb942c 1. Sync the binary with the latest source modification
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6186 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-22 09:06:44 +00:00
hche10x f2ea316578 1. Sync the binary with the latest source modification
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6185 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-22 09:04:32 +00:00
qhuang8 3b1abda484 Regenerate build binary (based on BaseTools r1332) to include some missing encodings to avoid build crash when generation the final image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6173 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 14:15:42 +00:00
hche10x 47b702c650 1. Sync the binary with the latest source modification
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6162 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-21 02:03:39 +00:00
jwang36 1003f96692 Fixed two minor issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6122 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-16 08:36:31 +00:00
jwang36 abb59a606c Fixed the incorrect file printed out when an unknown exception occurred.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6121 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-16 08:21:27 +00:00
jlin16 bf9ffb9f6b ECP support update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6116 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-15 04:45:31 +00:00
jlin16 d3b835caa0 ECP support update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6078 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-07 05:46:11 +00:00
jwang36 7befabe5ce Fixed HSD201706, which a None SourceOverrideDir will cause path join failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6075 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-06 02:53:54 +00:00
jwang36 c8b671eea5 Fixed HSD201555
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5923 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-18 05:59:18 +00:00
jwang36 205564ad9b Fixed HSD201384 & HSD201375
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5913 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-17 09:42:38 +00:00
hche10x ca3a49825d 1. Fix a bug for variable init issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5777 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-02 07:56:14 +00:00
jlin16 be9b89f598 Build & GenFds R8 ECP support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5762 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-01 09:44:40 +00:00
jwang36 0d037274f8 Added TOOLCHAIN macro in makefile besides TOOLCHAIN_TAG
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5641 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-14 02:07:08 +00:00
jwang36 f285eb1628 1. Enhanced the format of build_rule.txt to allow module type and arch information.
2. Enhanced Trim to convert ASL style of include to C style of include
3. Enhanced Trim to convert some EDK coding convention to EDK2 ECP convention
4. Added warning message when encountering unrecognized content in DSC/DEC/INF File
5. Enhanced the GenDepex to ignore everything outside DEPENDENCY_STANT and DEPENDENCY_END in dxs file


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5634 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-12 07:54:36 +00:00
jwang36 e81429bdfb Fixed a block issue caused by R8 library instance
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5611 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-07 08:02:34 +00:00
jwang36 9e3ae2db3a Added more error check
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5594 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-31 08:24:23 +00:00
jwang36 54bac0db0b 1. Fixed escape character issue in string value of PCD
2. Added host information in build message

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5579 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-28 04:38:06 +00:00
jwang36 4ad4145108 1. Fixed NULL library instance issue
2. Fixed non-existing table issue
3. Added more error message for format error

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5562 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-25 06:41:38 +00:00
lgao4 658885420f Temp Roll Back Build.exe to fix the unknown NULL library class instance issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5416 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 06:33:21 +00:00
jwang36 f3947f1ac7 Polished the error checks and error messages
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5412 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-07 09:00:04 +00:00
jwang36 4611e327f4 Fixed rebuild failure issue when un-recognized macro is used in "#include" directive.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5383 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 07:17:54 +00:00
jwang36 e19846c766 Fixed HSD tracker 201036
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5350 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-19 02:35:15 +00:00
jwang36 23fdff8236 Added dependency of makefile to source files in order to let source files be rebuilt when tool option changes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5333 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-05 07:36:19 +00:00
jwang36 d389c6f3fc Changed the error message to be clearer when no source files are found for build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5323 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-04 07:08:50 +00:00
jwang36 d5ce7c3e22 Fixed PCD override issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5221 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-19 05:12:27 +00:00
jwang36 263822c99f a. Fixed PCD override issue
b. Added error check and report for incompatible files in meta file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5212 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-16 08:47:15 +00:00
jwang36 412339e0fb Fixed an error during optimizing dependency expression.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5210 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-16 03:09:51 +00:00
jwang36 f44eb8f641 Fixed error report error when more than one inf files found
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5209 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-16 02:19:28 +00:00
jwang36 073e905aaa a. Fixed varid 0 issue in VfrCompile
b. Fixed an undefined variable in the parser of tools_def.txt

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5204 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-15 03:41:16 +00:00
jwang36 335b890e40 Added incremental support in GenFds
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5193 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-09 09:21:05 +00:00
jwang36 aa32d1eb9f a) Added explicit banner for pass/fail indication of build
b) Fixed the issue which cause error message from FDF parser won't be printed out.
c) Fixed the error message format of FDF parser
d) Changed the exit code of build tool from always 1 to error code, if error occurred


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5186 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-08 13:21:37 +00:00
jwang36 714e8111b7 Fixed an issue which would cause build failure in some corner cases.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5148 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-29 06:54:10 +00:00
jwang36 e645aacd53 Fixed several typo in variable names
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5120 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-24 07:20:22 +00:00
jwang36 4bd94693b3 Changed GenFds to use database based module/package/platform information retrieval mechanism
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5101 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-21 06:35:06 +00:00
jwang36 6a30250d8b Added several improvements for user experience
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5098 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-20 14:35:43 +00:00
jwang36 23676585e0 Fixed an issue in calculating common dependency files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5077 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 06:42:07 +00:00
jwang36 ccb2e5a64b Fixed include file matching issue if there's space in macro used in "#include".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5073 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 01:46:44 +00:00
jwang36 cdb579481a Fixed a NULL library instance issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5068 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-15 14:21:33 +00:00
jwang36 91d3ac3514 Applied macro replacement for FDF file path in DSC file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5067 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-15 08:56:02 +00:00
jwang36 4e4a057b72 Fixed a NULL library instance issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5065 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14 07:21:32 +00:00
jwang36 409ff67707 Fixed build error if there's more than one NULL library instances for a module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5059 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14 03:20:00 +00:00
jwang36 23acc9566c Fixed an issue in top level makefile which missed a 'cd' command and will cause build failure on some platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5041 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 02:16:18 +00:00
jwang36 7859df05bc Fixed a typo in variable name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5036 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-10 05:38:25 +00:00
jwang36 0216f62085 a. Improved build launch performance and fixed tons of bugs
b. Employed antlr to parse dependency expression for better syntax error check

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5032 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-09 14:14:14 +00:00
jwang36 7de83e3598 Fixed an incompatible issue in StrGather, which will cause undefined string tokens if R8 modules doesn't have their source directory in include search path list.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4859 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 05:59:16 +00:00
jwang36 f4c0826f4a Added "extern int __make_me_compile_correctly;" for R8 modules in AutoGen.c because it may be empty.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4845 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-13 09:09:57 +00:00
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