Commit Graph

84 Commits

Author SHA1 Message Date
jwang36 a1c90cf694 Added pre-compiled header support for compiling source code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1448 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 03:16:09 +00:00
jchen20 473f57d42e Add method for Microcode building
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1447 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 02:44:54 +00:00
wuyizhong 4436ffdcd9 According r1311 can't support linux. So rollback the change, but still remove the flag "/DSTRING_DEFINES_FILE=\"${BASE_NAME}StrDefs.h\"" since without any source file use it now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1330 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-21 06:03:55 +00:00
wuyizhong caa44816dd Fix cleanall can't clean all genereated files. Now .i files generated by VfrCompile move to module out put dir and Platform_build.xml will be removed in cleanall. Also adjust some code format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1321 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-18 08:06:02 +00:00
wuyizhong 35a9542410 Remove #include STRING_DEFINES_FILE from C file. Using ForceInclude to include ${BASE_NAME}StrDefs.h header file. Remove flag /DSTRING_DEFINED_FILE=${BASE_NAME}StrDefs.h. Move flags /DSTRING_ARRAY_NAME=${BASE_NAME}Strings from FPDs to BuildMacro since this flag will be used only unicode files exist.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1311 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 09:45:22 +00:00
qwang12 e537d5c130 Embeded autogenerated code in Java code instead of getting them from a real file. Hence, remove the template code from the PCD/Conf directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1295 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 10:52:14 +00:00
qhuang8 ef2172494f Add porting Guide to obsolete Edk Library interfaces.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1274 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 09:18:07 +00:00
wuyizhong 32a47954e2 Add judgement if filepath is . or not.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1254 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 09:44:00 +00:00
wuyizhong 88f858a135 Using ${OBJECTS} instead of fileset to trace all obj files. Add a new Macro named Build_Init to provide a way to initial some properties for user.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1252 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 07:00:48 +00:00
qhuang8 c8b59d238c Add Migration Tool Database files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1231 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10 09:15:27 +00:00
lhauch 390206981e Removed extra copyright and license notices - they are included in the header information, and do not need to be a comment a the top of the file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1157 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-31 15:47:55 +00:00
jwang36 d94d73c282 Fixed EDKT142; Removed FrameworkDatabase.db and added FrameworkDatabase.template
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1154 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-31 06:26:09 +00:00
bbahnsen 238094c40e Add tool chain tags for Unix gcc and Cygwin gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1098 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 00:31:31 +00:00
yshi8 aa0e74b1ce Changed the ASL compiler directory to C:\ASL, and corrected the tool chain name from GCC to MYGCC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1045 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-19 08:51:49 +00:00
lhauch 04566eff47 Changed the template files TagName to MYTOOLS instead of MSFT, since we don't want people to think that the TagName must match the Tool Chain Family.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1028 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-17 05:41:34 +00:00
jwang36 726c26e43b Added copyright&license header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@974 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 10:30:21 +00:00
wuyizhong 3e50a75cd2 Change DB's FAR name to Dummy and add a GUID for it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@951 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 05:42:37 +00:00
jwang36 3fc9d866c4 Enforced case-sensitive on the file names;
Corrected file and/or path names in some msa files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@949 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 05:21:14 +00:00
jwang36 19689a077c Changed the output message when handling dummy files in msa.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@943 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 02:56:33 +00:00
lhauch ed875a072d commented out the TARGET and the TARGET_ARCH entries in target.template. Default will be to build all arch specified and all targets specified by FPD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@942 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 02:45:24 +00:00
lhauch 407910b265 Added the IDENTIFIER = Default TOOL_CHAIN_CONF line to the tools_def.template file. Tested in the tools_def.txt file before adding to the template.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@920 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 14:26:12 +00:00
lhauch 65a1d8a902 Removed EdkFatPkg from tree - will put this up under a separate project on the website due to licensing restrictions. Added copyright notice to tools_def.template, modified ReleaseNotes.txt fixed the FrameworkDatabase.db to remove EdkFatPkg and Add the Tools.spd file back into the DB.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@890 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 06:40:42 +00:00
jwang36 4dd228c758 Corrected the dependency check issue for Build_Library and GenDll macros.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@887 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 03:18:30 +00:00
jwang36 a99a79e46f Added Build_DUMMY macro to skip those files in msa which should not be handled by any tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@884 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 01:59:43 +00:00
bbahnsen 1a7e55e455 Remove MdePkg-All-Archs.fpd from database.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@871 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 07:04:39 +00:00
jwang36 7c707b0214 Made some changes to use GCC to pre-process and assembly .S file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@846 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 12:07:49 +00:00
jwang36 cfccc31e51 changed TOOLS_DEFINITION_FILE to TOOL_CHAIN_CONF;
changed TAGNAME to TOOL_CHAIN_TAG

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@834 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 10:06:40 +00:00
lhauch dd23984c3d Final target.template file with embedded documentation. This file will only be used if edksetup.bat does not detect the existence of the file: target.txt.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@832 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 07:30:06 +00:00
bbahnsen c901c2e84a Added a comment about how to configure for Unix systems.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@828 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 18:52:28 +00:00
jwang36 df569f61e3 Fixed the GCC assembler issue. Now we can use full GCC tools to build our package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@795 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 10:31:48 +00:00
qwang12 1de04b4f83 Add in support for MaxSize and CurrentSize for PCD entry.
Change the behavior for PcdSET for Variable_Enabled Pcd entry. If a Variable does not exist, we will only save the value to a volatile space. We save it to variable ONLY when the variable exist. 

Fix a few bugs in Pcd Build tool when generated Pcd database for Pcd entry with Unicode String type.

Support PcdSet to return MaxSize if the input SizeOfBuffer is greater than the Max Size declared in FPD file.

Add SetValueWorker and GetValueWoker for each PcdSET and PcdGET function to reduce code size.

Sync function prototype definition for PCD_PPI_SET_POINTER, PCD_PPI_SET_EX_POINTER, PCD_PROTOCOL_SET_POINTER and PCD_PROTOCOL_SET_EX_POINTER with PCD arch spec 0.52.

Add ASSERTION in LibPcdSetPtr.





git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@789 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 06:10:20 +00:00
klu2 848e907b35 Change assembler compiler to windkk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@781 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 03:06:39 +00:00
ajfish a9b19265ac Made the default for IA-32 assembler path point to the default install location for MASM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@775 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 20:12:08 +00:00
wuyizhong de4bb9f6ed Fully support active platform policy.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@763 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 06:22:06 +00:00
jwang36 c64af698a3 added specific PP definition for EBC because of previous BuildMacro.xml changes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@762 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 05:49:33 +00:00
jwang36 cfa5a9c5d1 fixed GCC build issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@759 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 05:22:26 +00:00
qouyang 25832ed337 Fix autogen bug:[Edk67][Edk35].
Add "/FI" to "PP" option in EdkModulePkg-All-Archs.fpd.
Modify BuildMacro.xml changing "S" for IPF assembler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@746 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 13:44:18 +00:00
jwang36 0d2001d31d added back of preprocessing of asm files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@743 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 12:14:02 +00:00
lgao4 f4b38a99c7 Update tools definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@741 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 12:12:06 +00:00
lgao4 7d1142bfea Add ASL and ASMLINK tool definition in this file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@739 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 10:46:31 +00:00
jwang36 d8cf03df4b commented out GCC definitions temporarily
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@738 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 08:14:02 +00:00
jwang36 4507889e12 added GCC tools definitions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@735 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 06:13:13 +00:00
jwang36 02ef8e572d restored the file name and path of assembly file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@730 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 03:57:08 +00:00
jwang36 808323923f commented out the preprocessing of asm files, it will cause error on normal asm file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@728 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 03:55:24 +00:00
lgao4 46dde08c47 Add to the rules to generate TE section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@727 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 03:09:01 +00:00
jwang36 c44794ef22 added asm file preprocess in <Build_Assembly> macro
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@726 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 02:51:07 +00:00
lhauch 9ae9341aa3 Added a line to create a target.txt if one does not exist, based on the target.template file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@723 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 00:40:35 +00:00
qwang12 bb5545b663 Add PcdDxe and PcdPEIM to all-arch for EdkModulePkg-All-Archs.fpd
Fix a few bugs in PcdDxe and PcdPEIM


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@722 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-03 15:40:49 +00:00
wuyizhong a2d0e90908 Add build macro to generate section type TE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@719 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-03 05:22:59 +00:00
jwang36 71c60882e9 changed the default path for EBC tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@702 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:42:23 +00:00