Commit Graph

110 Commits

Author SHA1 Message Date
jwang36 aba23ad92e 1) Added precompiled header option to VS2003, VS2005PRO and WINDDK3790x1830 tool chains and cleaned the option format;
2) Changed the way of link/lib AutoGen.h.obj by using OBJECTS property to pass the file name to linker.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1692 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-09 07:15:20 +00:00
wuyizhong 26a3d4ab18 Add flags for UNIXGCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1691 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-09 02:28:29 +00:00
jwang36 1549f5163d Changed the way of using precompiled header in the build process. Now the use of precompiled header is controlled by tools_def.txt.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1690 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-08 16:07:32 +00:00
qouyang 5d28bc25af Remove the line of "<Filename>Tools/Java/JavaTools.spd</Filename>" in FrameworkDatabase.template, since the file of "Tools/Java/JavaTools.spd" don't exist in current tip.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1682 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-08 02:56:33 +00:00
mdkinney 807f07fe8a Remove extra /D defines in CC FLAGS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1681 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-07 00:28:16 +00:00
lhauch ecb33821f5 Fixed all scripts to use new directory layout.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1679 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-06 00:04:20 +00:00
bbahnsen 6abf46d184 Add compiler flags for UNIXGCC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1671 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-05 15:57:29 +00:00
mdkinney 69c2c2b38d Pull majority of flag settings into tools_def.txt and only leave custom flags for platforms in the FPD files.
Add standard profiles for VS 2003, VS 2005 Professional, DDK 3790.1830, Intel EBC, Intel ASL
Preserve MYTOOLS profile that is compatible with previous versions of this file.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1655 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 22:56:14 +00:00
mdkinney 43b94c2fd0 Change default setting in template to only build DEBUG targets instead of both DEBUG and RELEASE targets.
This was done because other FPD files were updates to support both DEBUG and RELEASE targets


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1654 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 22:53:40 +00:00
mdkinney 2e4af2a18f Add AutoGen.h.obj to the list of files to link to resolve a link failure with VS 2005
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1653 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 22:51:18 +00:00
jwang36 ac242ae4a1 Moved the directory of generated precompiled header file to OUTPUT directory to fix the build issue after a "build clean"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1647 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-30 01:34:36 +00:00
wuyizhong 32c8b5a947 To fix EDKT341. Still existing issues for VfrCompile.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1633 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-27 05:53:35 +00:00
jwang36 16c490eb07 Added DllPath for VfrCompile
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1632 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-27 05:30:09 +00:00
wuyizhong 1a0d7262b4 Degrade echo "Ignoring File..." message from WARNING to INFO. Add process status indicator during parallel build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1609 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-25 09:22:01 +00:00
lgao4 c084fb6e57 Don't copy *.te file into Bin_DIR directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1607 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-25 08:27:07 +00:00
jwang36 f88b9153c0 Changed the way of generating the pre-compiled header to solve incremental build issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1587 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21 06:31:33 +00:00
qhuang8 9f98dbb76f Enhance recognizing Macro/Type defined in Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1525 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 07:00:19 +00:00
wuyizhong e38eb39cb0 Add more comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1522 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 03:32:00 +00:00
jwang36 63062e1ead Merged the <libset> in <GenDll> to avoid warning message.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1515 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-12 02:14:45 +00:00
ajfish 6d8597dcf0 Updated the default to parallel build. Even on a single core build is faster with threads. Set MAX thread number to 1+ max core in your system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1514 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 19:11:37 +00:00
qhuang8 733d48fec3 Add migration rule for Build Guid Hob.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1513 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 13:49:03 +00:00
qhuang8 06d1ff5b98 Remove the special case handling of EfiInitializeDriverLib & DxeIntializeDriverLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1511 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 09:53:28 +00:00
wuyizhong d039f539ae Add two attributes to target.template. MULTIPLE_THREAD is to enable/disable multi-thread build. MAX_CONCURRENT_THREAD_NUMBER is used to specify the number of concurrent threads.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1508 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-11 06:42:49 +00:00
qhuang8 b30d28b3d4 Minor adjustments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1480 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 07:38:37 +00:00
jwang36 adb6105a5a Added AutoGen.h to assembly and vfr dependency check
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1471 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 03:34:55 +00:00
wuyizhong 50017606db Add one more platform level common property "TARGET_DIR". Take Nt32 for example: TARGET_DIR=${BUILD_DIR}/${TARGET}_${TAGNAME}
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1456 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 06:27:16 +00:00
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