Commit Graph

114 Commits

Author SHA1 Message Date
jljusten c609489087 Update Conf template files to support ACPI building with UNIXGCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7978 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-29 18:42:14 +00:00
jwang36 77696b61eb Add $(MD) command for vfr build rule to avoid build failure for some R8 modules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7976 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-29 16:16:19 +00:00
klu2 941199475d add map generation for GCC tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7934 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-24 13:08:39 +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 a388ec434a Updated the macro description according to the latest changes in build tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7159 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-31 06:06:11 +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
lgao4 e1b4bd1486 Roll back to add rule for uni file, change Uni output file to $(DEBUG_DIR)(+)$(MODULE_NAME)StrDefs.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7119 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-25 03:22:58 +00:00
lgao4 f5e6003bdf Remove unused PCH compiler option and unused build rule for uni file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7117 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-25 01:09:52 +00:00
jljusten 6ff04b8e40 Use VFRPP tool for VFR pre-processing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6675 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 19:09:26 +00:00
lgao4 64cd21af35 Update ASL build rule, Add PeiLibPciCfgModify into EDKII GlueLib PeiServiceLib to support the modules that uses EDKII Glue Lib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6551 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 02:12:36 +00:00
lgao4 ffe084ee76 1. Add ASM source files directory into its Include path.
2. Change the output directory for ASL files to the subdirectory in order to avoid the same file names. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5867 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-10 06:51:00 +00:00
lgao4 f0373115cc Add the special build rule for AcpiTable C Source file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5759 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-01 01:18:00 +00:00
vanjeff 576b299ac9 add .mut file type support for Microcode files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5730 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-26 06:18:30 +00:00
lgao4 a1c949f333 Update GenSec to handle the input file whose size is Zero. And add the unified ASL tool path and flags for ASL code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5706 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-21 13:11:01 +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
lgao4 30962c7752 Abstract VFR compiler and Flag to marco that user can customize.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5610 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-07 03:29:10 +00:00
eric_tian 73aa7f049b merge the generation of SecMain into the whole build process.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5491 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 05:28:50 +00:00
qwang12 616380f68b Add "-l" to make VFR Compiler to generate .lst file to assist debug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5334 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-05 07:48:54 +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
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
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 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 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
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 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 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
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 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
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 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 327f4e7d26 Fixed an issue in which the dependent makefile is put in wrong rule.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3975 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 02:50:00 +00:00
jwang36 ca5fab07d3 Changed the GnuMakefile to Makefile as a workaround for CYGWINGCC toolchain build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3921 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-26 01:55:21 +00:00
jwang36 dc66cae164 Added directory for "Makefile" in "Dynamic-Library-File" rule in case the working directory is changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3831 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-13 08:24:20 +00:00
jwang36 ef2b52786f Added makefile as dependency for "Dynamic-Library-File" to solve the incremental build issue occurred when there's library changes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3801 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 06:59:05 +00:00
lgao4 3a09b62ac8 Update Acpi Asl file Build rule to remove trim step.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3766 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-03 07:55:32 +00:00
zliu3 107bb017a5 Update the build_rule.template to enable the PCD usage in IPF assembly code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3732 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29 08:57:24 +00:00
lgao4 48988f855b Update build rules to cover ICC build for aslc file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3700 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-24 02:20:50 +00:00
jwang36 d60db64055 Fixed incremental link issue, which dependent libraries were not taken into account.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3689 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-22 09:29:30 +00:00
jwang36 8083432c1b Changed the order of SLINK option
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3678 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-18 04:15:31 +00:00
jwang36 dce323a67c Re-designed build_rule.template and updated build.exe to support the new format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3677 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-18 03:54:24 +00:00
jwang36 2b6e9b34bc Added missing "-" for "convert-hex" option of Trim.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3615 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 01:14:01 +00:00
jwang36 9393402a2c 1. Changed the trim algorithm to be more general according to the Line Control directive
2. Changed the command line options to be standard and changed its uses in build_rule.template accordingly.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3614 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 01:06:44 +00:00
lgao4 85496a3a00 Correct acpi table c file build rule.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3598 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-10 04:04:27 +00:00
jwang36 896a3f9efe Added Trim command for ASL file process
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3558 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-07 01:37:52 +00:00
lgao4 52de52ae10 Update MicroCode build rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3534 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-02 10:11:43 +00:00
lgao4 7b2b99a342 Update GenFw and Genfv tool to support Microcode and FvMap. And Update build rules for micro code file type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3529 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-02 05:26:55 +00:00
jwang36 56919d25a6 Changed Trim tool to use standard command line options and changed its usage in build_rule.template correspondingly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3462 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 00:20:44 +00:00
lgao4 0963b13df5 Add build rules for asl file, asm16 file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3457 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-26 10:26:36 +00:00
jwang36 804c081d69 1. Fixed PCD SizeTable issue in AutoGen.c
2. Added ACPI table module support
3. Added USER_DEFINED support for SEC module


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3434 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-25 06:13:03 +00:00
jwang36 d8dab3904b Added build command for INTEL tool chain family
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3352 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 05:45:47 +00:00
jwang36 ca451dba10 Added GCC (CYGWIN only) tool chain family support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3332 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 15:23:51 +00:00
jwang36 b1f7ad6671 Improved the file type filter
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3313 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 06:50:31 +00:00
jwang36 1972a51c6c Added $(INC) for MASM
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3306 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 02:58:49 +00:00
jwang36 c543d28bc2 1. Changed VFRPP to PP in build_rule.template for VFR file preprocessing
2. Removed all precompiled header option and /DSTRING_ARRAY_NAME=$(BASE_NAME)Strings for all tool chains in tools_def.template

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3291 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 06:21:49 +00:00
jwang36 f875148084 1. added force include file AutoGen.h for VFRPP flag because we have moved string definitions in AutoGen.h
2. removed VFRC tool definition
3. changed $(VFRC) to VfrCompile in build_rule.template

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3286 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 05:33:01 +00:00
jwang36 2a3e0cce69 Fixed unicode parse issue and vfr file build issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2982 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 03:41:33 +00:00
jwang36 3f94b8e89a Fixed option issues in IPF assembler and EBC linker
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2953 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 09:31:51 +00:00
jwang36 8cc724084d Updated VFR file build command
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2924 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 02:06:30 +00:00
jwang36 32f148f8a3 1. Added depex file generation
2. Added file type filter per the toolcode/toolchain/toolchain family/etc., and fixed the BaseLib.inf
3. Added unicode file parse support but commented out temporarily because of bugs
4. Fixed the unicode file format in Nt32Pkg/MiscSubClassPlatformDxe
5. Removed duplicated [Ppis.common] in MdePkg.dec
6. Added declaration of gEfiPeiMemoryDiscoveredPpiGuid in Nt32Pkg.dec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2858 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-28 15:08:08 +00:00
jwang36 a9c9a31de8 Removed the AutoGen-Code type of file build; added new macro for replacement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2745 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-26 08:07:10 +00:00
jwang36 8fc4fc3a0e 1) Incorporated generating top level makefile. Now platform build is possible (no FD generation).
2) Added GenFw.exe for EFI file generation
3) Changed the destination directory of *.template file to WORKSPACE/Conf
4) Commented out several modules in the MdePkg.dsc file since they cannot be found in the MdePkg package directory.
5) Removed the usage of WORKSPACE_DIR macro in makefile. WORKSPACE is used instead all the way.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2733 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-25 17:00:40 +00:00
jwang36 589d5eaab3 Added for new build system. Just for module porting purpose. Don't use it in normal build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2705 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 06:22:16 +00:00