diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-10-04 23:10:09 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-10-04 23:10:09 +0000 |
commit | 263d5afdc02940555cf53f61e03f093053c2b8c1 (patch) | |
tree | 1cbf7190508fff2bf03c09c49291e7fc762aab10 /EdkModulePkg | |
parent | 32a4d5cecf6a49a508080da0648eb2d74bd4bbc3 (diff) | |
download | edk2-263d5afdc02940555cf53f61e03f093053c2b8c1.tar.gz edk2-263d5afdc02940555cf53f61e03f093053c2b8c1.tar.bz2 edk2-263d5afdc02940555cf53f61e03f093053c2b8c1.zip |
Add support for DEBUG and RELEASE builds of this FPD file.
Remove all FLAG settings from this FPD file. This functionality has moved into tools_def.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1663 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg')
-rw-r--r-- | EdkModulePkg/EdkModulePkg.fpd | 48 |
1 files changed, 5 insertions, 43 deletions
diff --git a/EdkModulePkg/EdkModulePkg.fpd b/EdkModulePkg/EdkModulePkg.fpd index af69a96278..add622d074 100644 --- a/EdkModulePkg/EdkModulePkg.fpd +++ b/EdkModulePkg/EdkModulePkg.fpd @@ -18,7 +18,7 @@ </PlatformHeader>
<PlatformDefinitions>
<SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>
- <BuildTargets>DEBUG</BuildTargets>
+ <BuildTargets>DEBUG RELEASE</BuildTargets>
<IntermediateDirectories>UNIFIED</IntermediateDirectories>
<OutputDirectory>Build/EdkModule</OutputDirectory>
<SkuInfo>
@@ -765,7 +765,7 @@ <FvBinding>NULL</FvBinding>
<FfsFormatKey>DXE_CORE</FfsFormatKey>
<Options>
- <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="CC">"/nologo", "/W3", "/WX", "/GX", "/Gy", "/Gs-", "/c", "/D EFI32", "/D UNICODE", "/FI${DEST_DIR_DEBUG}/AutoGen.h", "/Ob0"</Option>
+ <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="CC">"/WX-", "/Ob0"</Option>
</Options>
</ModuleSaBuildOptions>
</ModuleSA>
@@ -5926,7 +5926,7 @@ <FvBinding>NULL</FvBinding>
<FfsFormatKey>DXE_CORE</FfsFormatKey>
<Options>
- <Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="CC">"/nologo", "/X", "/W4", "/WX", "/Gy", "/c", "/Gs8192", "/GS-", "/D EFIx64", "/O1i", "/FAcs", "/FI${DEST_DIR_DEBUG}/AutoGen.h", "/Ob0"</Option>
+ <Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="CC">"/WX-", "/Ob0"</Option>
</Options>
</ModuleSaBuildOptions>
</ModuleSA>
@@ -9946,7 +9946,7 @@ <FvBinding>NULL</FvBinding>
<FfsFormatKey>DXE_CORE</FfsFormatKey>
<Options>
- <Option ToolChainFamily="MSFT" SupArchList="IPF" ToolCode="CC">"/nologo", "/W4", "/WX", "/EHsc", "/Gy", "/c", "/GS-", "/D EFI64", "/O1i", "/FI${DEST_DIR_DEBUG}/AutoGen.h", "/Ob0"</Option>
+ <Option ToolChainFamily="MSFT" SupArchList="IPF" ToolCode="CC">"/WX-", "/Ob0"</Option>
</Options>
</ModuleSaBuildOptions>
</ModuleSA>
@@ -13970,7 +13970,7 @@ <FvBinding>NULL</FvBinding>
<FfsFormatKey>DXE_CORE</FfsFormatKey>
<Options>
- <Option ToolChainFamily="INTEL" SupArchList="EBC" ToolCode="CC">"-nologo", "-FAcs", "-c", "-W3", "-WX", "-FI${DEST_DIR_DEBUG}/AutoGen.h", "/Ob0"</Option>
+ <Option ToolChainFamily="INTEL" SupArchList="EBC" ToolCode="CC">"/WX-", "/Ob0"</Option>
</Options>
</ModuleSaBuildOptions>
</ModuleSA>
@@ -17756,44 +17756,6 @@ </PcdBuildData>
</DynamicPcdBuildDefinitions>
<BuildOptions>
- <Options>
- <!--MSFT tool chain options definition : IA32-->
- <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="CC">"/nologo", "/W3", "/WX", "/GX", "/Gy", "/Gs-", "/c", "/D EFI32", "/D UNICODE", "/FI${DEST_DIR_DEBUG}/AutoGen.h"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="SLINK">"/NOLOGO"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="DLINK">"/NOLOGO", "/NODEFAULTLIB", "/IGNORE:4086", "/MAP", "/OPT:REF", "/MACHINE:I386", "/ALIGN:32", "/DLL", "/LTCG", "/ENTRY:${ENTRYPOINT}", "/SUBSYSTEM:${SUBSYSTEM}"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="ASM">"/nologo", "/W3", "/WX", "/c", "/coff", "/DEFI32", "/Fl${DEST_DIR_OUTPUT}/${FILE_PATH}/${FILE_BASENAME}.lst"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="ASMLINK"/>
- <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="PP">"/nologo", "/P", "/TC", "/FI${DEST_DIR_DEBUG}/AutoGen.h"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="ASL">"/nologo"</Option>
- <!--MSFT tool chain options definition : X64-->
- <Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="CC">"/nologo", "/X", "/W4", "/WX", "/Gy", "/c", "/Gs8192", "/GS-", "/D EFIx64", "/O1i", "/FAcs", "/FI${DEST_DIR_DEBUG}/AutoGen.h"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="SLINK">"/NOLOGO"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="DLINK">"/NOLOGO", "/Machine:AMD64", "/ALIGN:32", "/DLL", "/NODEFAULTLIB", "/OPT:REF", "/ENTRY:${ENTRYPOINT}", "/SUBSYSTEM:${SUBSYSTEM}"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="ASM">"/nologo", "/W3", "/WX", "/c", "/DEFI32"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="ASMLINK"/>
- <Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="PP">"/nologo", "/P", "/TC", "/FI${DEST_DIR_DEBUG}/AutoGen.h"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="ASL">"/nologo"</Option>
- <!--MSFT tool chain options definition : IPF-->
- <Option ToolChainFamily="MSFT" SupArchList="IPF" ToolCode="CC">"/nologo", "/W4", "/WX", "/EHsc", "/Gy", "/c", "/GS-", "/D EFI64", "/O1i", "/FI${DEST_DIR_DEBUG}/AutoGen.h"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="IPF" ToolCode="SLINK">"/NOLOGO"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="IPF" ToolCode="DLINK">"/NOLOGO", "/NODEFAULTLIB", "/IGNORE:4086", "/MAP", "/OPT:REF", "/MACHINE:IA64", "/ENTRY:${ENTRYPOINT}", "/SUBSYSTEM:${SUBSYSTEM}"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="IPF" ToolCode="ASM">"-N us", "-X explicit", "-M ilp64", "-N so", "-W4"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="IPF" ToolCode="ASMLINK"/>
- <Option ToolChainFamily="MSFT" SupArchList="IPF" ToolCode="PP">"/nologo", "/P", "/TC"</Option>
- <Option ToolChainFamily="MSFT" SupArchList="IPF" ToolCode="ASL">"/nologo"</Option>
- <!--INTEL tool chain options definition : EBC-->
- <Option ToolChainFamily="INTEL" SupArchList="EBC" ToolCode="CC">"-nologo", "-FAcs", "-c", "-W3", "-WX", "-FI${DEST_DIR_DEBUG}/AutoGen.h"</Option>
- <Option ToolChainFamily="INTEL" SupArchList="EBC" ToolCode="SLINK">"/lib", "/NOLOGO", "/MACHINE:EBC"</Option>
- <Option ToolChainFamily="INTEL" SupArchList="EBC" ToolCode="DLINK">"/NOLOGO", "/MACHINE:EBC", "/SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER", "/OPT:REF", "/NODEFAULTLIB", "/ENTRY:${ENTRYPOINT}", "/SUBSYSTEM:${SUBSYSTEM}"</Option>
- <Option ToolChainFamily="INTEL" SupArchList="EBC" ToolCode="PP">"-nologo", "-P", "-TC"</Option>
- <!--GCC tool chain options definition : IA32-->
- <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="CC">"-Os", "-fshort-wchar", "-fno-strict-aliasing", "-Wall", "-Werror", "-c", "-include ${DEST_DIR_DEBUG}/AutoGen.h"</Option>
- <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASM">"-c", "-imacros ${DEST_DIR_DEBUG}/AutoGen.h"</Option>
- <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="SLINK"/>
- <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="DLINK">"-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols", "--entry _${ENTRYPOINT}"</Option>
- <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASMLINK"/>
- <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="PP">"-E", "-x assembler-with-cpp", "-include ${DEST_DIR_DEBUG}/AutoGen.h"</Option>
- </Options>
<Ffs FfsKey="APPLICATION">
<Attribute Name="FFS_FILETYPE" Value="EFI_FV_FILETYPE_APPLICATION"/>
<Attribute Name="FFS_ATTRIB_CHECKSUM" Value="TRUE"/>
|