Commit Graph

557 Commits

Author SHA1 Message Date
klu2 65a18d1ac2 Update BootSectImage and GenBootSector tools' binary for DUET platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5167 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-05 08:45:07 +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 48014aedba Made it working
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5139 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-28 08:11:51 +00:00
jwang36 2a3ce6dd17 Added python wrapper of EFI (de)compressor
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5134 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-28 03:54:58 +00:00
lgao4 8067d3032c Correct the bug to ignore the encapsulated section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5122 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-24 07:44:04 +00:00
jwang36 54b8514b27 Fixed an CR/LF issue in FDF file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5121 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-24 07:22:35 +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
lgao4 e00f3fe1cc 1. GenSec tool only updates output file when the contents of the output file are modified.
2. GenFfs tool checks the Pe/Te section for PEI and DXE file type. If Pe section doesn't exist, GenFfs tool will report error.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5117 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-24 04:15:36 +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
lgao4 0f9d26a7dd Add the function relative address to the base address in the map file for user easy reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5096 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-18 09:16:05 +00:00
jwang36 2c1bc18a3b Fixed error data in generated listing file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5095 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-18 07:18:03 +00:00
lgao4 25ab7ab110 For MicroCode module, default copy the created image to bin directory for easy reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5087 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-18 03:08:20 +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 813bfd0813 Fixed an print issue when generating listing file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5074 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 02:12:13 +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
lgao4 a36e1ce43c Add more usage description for -r option, and add option keepexceptiontable and keepzeropending not to remove exception table and zero pending data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5035 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-10 04:07:42 +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
jljusten ed4c327ca3 edk2/BaseTools:
Reference BaseTools source for gcc instructions & scripts.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4997 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-07 16:29:26 +00:00
lgao4 07a0a7f25c Correct one bug when add pad file may cause size exceed the region.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4979 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 07:18:04 +00:00
lgao4 b900faa235 Enhance GenFw tool to always zero .pdata section for PE32 and PE32+ image in order to improve compression ratio for them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4971 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-31 05:25:03 +00:00
jwang36 eba88b794e Changed per the recent update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4942 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 06:14:01 +00:00
lgao4 4a73341484 Correct Error Message format for these C tools according to the Tool Design Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4918 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 09:22:18 +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
lgao4 4ee8254a0c Disable unused C++ EH and RTTI feature by adding /GX- option for VC7 and adding /GR- option for VC8.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4849 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-14 03:12:29 +00:00
lhauch 5b4756eacc Fixing gcc CC Flags and ld flags - adding map
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4847 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-13 20:46:42 +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
lhauch c2192d9324 changing shortcut name to descriptive names for grouping librarys
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4842 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-12 14:08:12 +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
jlin16 3531be0158 GenFds.exe adapt to new build database structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4768 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 08:46:21 +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
qhuang8 83be5e88e7 Fix the following issues: (base tools source r1024)
1. Vfr compiler cannot handle #pragma pack(push, 1) well.
2. VfrCompiler should report error for the unsupported format e.g.option text = STRING_TOKEN(STR_DISABLE), ..., key = 1;
3. VfrCompiler error messages are unclear for referencing undefined Q ID


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4766 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 07:12:19 +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
lgao4 94cb0cfbcd Update platform build tools by adding input parameter check and guid format check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4759 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 09:21:46 +00:00
lhauch ad42b17a75 Fixed option name, ForceRebuild
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4748 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-22 16:37:53 +00:00
lhauch 8014e7ceb0 Removed newbuild option from edksetup.bat command-line, this is now the default.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4747 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-22 16:31:23 +00:00
jwang36 34d675a0c9 Fixed mismatched command line switch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4744 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-22 02:52:37 +00:00
lhauch 01c665a0a8 Fixed VFR flag to: --no-pre-processing
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4743 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-22 00:22:32 +00:00
jwang36 87acd19c6d Standardized the command line options of VfrCompile.exe and changed its uses in build_rule.template.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4740 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-21 00:50:13 +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 f9619f52af Added "-nopp" to VfrCompile.exe tool to bypass the preprocessing on input file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4698 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-18 01:35:38 +00:00
jwang36 f4ccac6a8f Incorporated the latest UEFI compatible VfrCompile.exe, which supports bypassing the preprocessor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4697 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-18 01:34:59 +00:00
jwang36 65803b123f Improved the file creation speed during incremental build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4696 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-15 07:49:17 +00:00
jljusten b9a615fa77 Under the buildtools.tianocore.org BaseTools tree, we are renaming
BaseTools/PseudoBin to BaseTools/BinWrappers.

This change requires an update in the buildtools source (BaseTools 
directory) as well.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4690 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-13 22:44:22 +00:00
qhuang8 b7fc5c8937 Remove non-existing files reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4658 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 15:12:19 +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 7113867d54 using R8 component type when choosing rule for INF in FDF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4616 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-23 08:35:52 +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
lhauch fa7f89da6f modified the UNIXGCC information
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4492 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-03 21:41:41 +00:00
lhauch e26b8dca3f Fixed some of the comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4491 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-03 21:29:07 +00:00
lhauch fbf822439a Modified BINUTILS_URL to point to mirrors.kernel.org, added comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4490 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-03 21:28:34 +00:00
lhauch ab9281201a fixed paths for UNIXGCC tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4489 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-03 21:01:44 +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 b2696f2fa4 Updated the revision number of build tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4460 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-02 03:25:49 +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 63245e966f Added $(ASL_FLAGS) to $(ASL) command line
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4445 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-28 05:31:13 +00:00
lhauch 41ca88052a fixed a typo - GS8192 should be Gs8192
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4444 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-28 00:03:12 +00:00
lhauch f260433e67 Added QIPF_fr32 flags to IPF CC flags, neede by UEFI ABI for Itanium
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4443 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-27 21:05:46 +00:00
jwang36 106c688f93 Fixed out-of-date contents (PVCS tracker 732)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4434 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-25 09:23:17 +00:00
jwang36 d78f8ac7ee Fixed typos (PVCS tracker 749)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4433 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-25 09:17:00 +00:00
jwang36 1c2c04dfea Fixed typos (PVCS Tracker 750)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4432 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-25 09:15:38 +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 f71c1d39e4 Changed the NMAKE path from VS2003 to VS2005 for ICC tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4424 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-24 02:51:41 +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 1f89f78983 Removed commented out lines
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4393 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-13 05:22:22 +00:00
jwang36 d5e481791d Added X64 compiler build script
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4392 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-13 05:19:41 +00:00
jwang36 c504fc2d4c Made it executable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4391 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-12 07:34:39 +00:00
jwang36 64cf8bc004 Changed the ICC tools to use VS2005's tools and dlls because of crash of ICC working with VS2003.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4390 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-12 03:50:49 +00:00
jljusten 1f83807697 Built with vs.net 2005 from
https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools r920.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4389 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 22:38:26 +00:00
jljusten 3e9fbbfb07 deleted edk2/BaseTools/Bin/Darwin:
deleted edk2/BaseTools/Bin/PosixLike:
  Moved (as of buildtools r920) into
  https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools/PseudoBin


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4388 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 09:36:25 +00:00
jljusten 2dffc141fb modified edk2/BaseTools/BuildEnv:
Minor cleanup:
    Conf/BuildEnv.sh2 -> Conf/BuildEnv.sh


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4387 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 09:12:40 +00:00
jljusten 66dcb2f08a modified edk2/BaseTools/BuildEnv:
deleted  edk2/BaseTools/BuildEnv.py:
  Resolve https://edk2.tianocore.org/servlets/Scarab/id/EDKT557
    "All code in the edk2 tree must not require third party tools
     for running the provided tools."
  which refers to the usage of python by BuildEnv.py.

  /sigh


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4386 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 09:03:30 +00:00
jwang36 0b67ae168e Updated this script to use the latest binutils and cygwin because the old versions of them are not available.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4382 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 02:06:55 +00:00
lgao4 f1d73e29d3 Fix one minor bug to print TE image correct start address into Fv map file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4377 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 06:23:49 +00:00
jwang36 256a0cc3c2 Re-generated because of AutoGen changed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4375 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 03:05:09 +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
lhauch 7e6ae4d97f Rearranged flags so they are in consiste locations, change ASM warning from /W3 /W0 to just /W3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4335 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-28 01:20:03 +00:00
lgao4 d11013980f Minor change for GenFv to support capsule attribute, GenSec to support guid header size and GenFfs to pad alignment for TeImage.
And Add GenCrc32 tool

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4316 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-21 03:50:33 +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
lgao4 c1f455c3a5 Fix GenFv bug without init local variable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4281 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-07 07:48:54 +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
lgao4 9402de91cf Update tool to support reloc section removed, PAD file with same guid and check no duplicated guid file in the same fv image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4275 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-06 11:23:02 +00:00
jwang36 2b993c56f7 Fixed an issue which would cause trimming empty file error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4272 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-06 06:39:13 +00:00
yshang1 8a0d144b39 Add the -mno-red-zone for gcc on x64. Since the GNU calling convention of x64 defines the 128bytes red zone beyond the stack point could not be modified by interrupt or exception handler, and Edk prime assumes all data beyond stack point should be volatile, if not add the option, the interrupt or exception handler may corrupt the red zone, which may be used as temporary storage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4271 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-06 05:30:16 +00:00
jwang36 d28746d23a Added change log for r4251
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4252 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 10:46:34 +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
jljusten 8f5a1bcc35 BaseTools/Conf/tools_def.template:
Added '-x assembler' to *_UNIXGCC_*_ASM_FLAGS so pre-processed assembly
  files (*.iii) will assemble correctly.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4235 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 23:17:12 +00:00
jljusten 9ba67b5c81 BaseTools/Conf/build_rule.template:
Fixes for GCC toolpath on unix.  (Changes tested on OS X).


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4233 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 18:34:07 +00:00
jljusten 2347330465 BaseTools/Conf/tools_def.template:
Changes for UNIXGCC toolchain.
  Tested on OS X with x86_64-pc-mingw32 bintools/gcc


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4232 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 08:01:12 +00:00
jljusten 408e506344 BaseTools/ConfTemplates:
Removing BaseTools/ConfTemplates/* and using common BaseTools/Conf,
  even though they cannot be made common for all systems.  (For example,
  target.template)  I will look a different method to accomplish the
  same goal.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4230 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 07:43:33 +00:00
jljusten 8625864ea9 BaseTools/BuildEnv.py:
Removing BaseTools/ConfTemplates/* and using common BaseTools/Conf,
  even though they cannot be made common for all systems.  (For example,
  target.template)  I will look a different method to accomplish the
  same goal.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4229 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 07:42:00 +00:00
jljusten a0d76ec7db Adding link for BaseTools/Bin/PosixLike/Trim to allow tool to be run
during the build process.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4228 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 07:19:18 +00:00
jwang36 d81b56bcbe Fixed memory re-free issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4214 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 09:43:28 +00:00
jwang36 930052168f a. Re-generated all C tools with "/MLd" option
b. Removed antlr.exe and dlg.exe because they are only needed to generate VfrCompile.exe but not to build platform or module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4213 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 08:37:44 +00:00
lhauch c47e45a6c2 Adding GCC cross-compiler information to BaseTools folder
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4206 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-23 17:15:38 +00:00
lgao4 16b5f6819e Update verbose log info to these two tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4204 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-23 03:50:43 +00:00
jwang36 1db5dde14b Added Spd2Dec.exe and Fpd2Dsc.exe tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4195 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22 09:34:05 +00:00
jwang36 94dfb890bb git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4194 6f19259b-4bc3-4df7-8a09-765794883524 2007-10-22 09:29:18 +00:00
jwang36 183eb3e617 Added change log for the latest tools update (r4190 & r4189).
Added revision number information of tools source code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4193 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22 09:27:45 +00:00
jwang36 8809fb07fb Updated with the latest changes of build tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4191 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-22 09:09:57 +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 2062f2b3f3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4185 6f19259b-4bc3-4df7-8a09-765794883524 2007-10-19 11:08:45 +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 6e98e26326 Make scripts work from $WORKSPACE/BaseTools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4152 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-17 02:19:35 +00:00
jljusten b9e61d7d16 Moving from $WORKSPACE/Tools/BuildEnv $WORKSPACE/BaseTools/BuildEnv.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4150 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-17 02:08:31 +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
jljusten 9bb5c95447 Reorganize templates to allow different templates
in different build environments.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4136 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 20:26:25 +00:00
jljusten f6148b1e01 This script will help automate build environment initialization.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4135 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 20:23:06 +00:00
jlin16 e542e30a19 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4134 6f19259b-4bc3-4df7-8a09-765794883524 2007-10-16 13:48:53 +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 30311cfc7a Solved the VS2005 assembler issue in which "/omf" switch cannot call linker.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4132 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 12:17:53 +00:00
jwang36 8e5c3581bb Changed the default directory of VS2005TEAMSTUIE to the default installation directory of Visual Studio 2005 Team Suite Edition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4129 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 08:08:01 +00:00
jwang36 af437b7c2e Added VS2005TEAMSUITE tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4126 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 06:50:20 +00:00
jwang36 496085b93e Fixed an issue which cause mismatch of line directive in preprocessed GNU assembly code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4122 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 05:33:05 +00:00
jwang36 c8c6d794df Added GCC assembly code preprocessing support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4114 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-15 06:17:00 +00:00
jwang36 cba02989d1 Added DLL attribute for SLINK and/or CC command because Intel Compiler and linker need the cl.exe and lib.exe from Visual Studio.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4106 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 03:36:32 +00:00
jwang36 06ca7f7102 Corrected the wrong ARCH in WINDDK3790x1830 tool chain and added MAKE command for it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4105 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 03:02:30 +00:00
jwang36 651cad36c1 Updated with the latest changes of build tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4104 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 02:31:44 +00:00
jwang36 2067a15b92 Updated the revision number of build.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4097 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 15:08:14 +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 eb1c2d7bd9 Added MAKE command for ICC and CYGWINGCC tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4095 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 13:34:31 +00:00