Commit Graph

489 Commits

Author SHA1 Message Date
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