diff options
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/MdePkg-All-Archs.fpd | 16 | ||||
-rw-r--r-- | MdePkg/MdePkg.fpd | 65 |
2 files changed, 12 insertions, 69 deletions
diff --git a/MdePkg/MdePkg-All-Archs.fpd b/MdePkg/MdePkg-All-Archs.fpd index 8c507e5..6837147 100644 --- a/MdePkg/MdePkg-All-Archs.fpd +++ b/MdePkg/MdePkg-All-Archs.fpd @@ -2556,8 +2556,8 @@ <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="ASM">
"/nologo", "/W3", "/WX", "/c", "/coff", "/DEFI32", "/Fl${DEST_DIR_OUTPUT}/${FILE_PATH}/${FILE_BASENAME}.lst"
</Option>
- <Option BuildTargets="DEBUG" ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="ASMLINK"/>
- <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="PP"> "/P", "/TC" </Option>
+ <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="ASMLINK"/>
+ <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="PP"> "/nologo", "/P", "/TC", "/FI${DEST_DIR_DEBUG}/AutoGen.h", "/FI${DEST_DIR_DEBUG}/AutoGen.h" </Option>
<Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="ASL"> "/nologo" </Option>
<!-- MSFT tool chain options definition : X64 -->
@@ -2575,7 +2575,7 @@ </Option>
<Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="ASMLINK"> </Option>
<Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="PP">
- "/P", "/TC"
+ "/nologo", "/P", "/TC", "/FI${DEST_DIR_DEBUG}/AutoGen.h"
</Option>
<Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="ASL"> "/nologo" </Option>
@@ -2591,7 +2591,7 @@ "-N us", "-X explicit", "-M ilp64", "-N so", "-W4"
</Option>
<Option ToolChainFamily="MSFT" SupArchList="IPF" ToolCode="ASMLINK"> </Option>
- <Option ToolChainFamily="MSFT" SupArchList="IPF" ToolCode="PP"> "/P", "/TC" </Option>
+ <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 -->
@@ -2604,11 +2604,11 @@ <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"> "-P", "-TC" </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"
+ "-Os", "-fshort-wchar", "-fno-strict-aliasing", "-Wall", "-Werror", "-c", "-include ${DEST_DIR_DEBUG}/AutoGen.h"
</Option>
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASM"> "--warn" </Option>
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="SLINK"> </Option>
@@ -2616,7 +2616,7 @@ "-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols"
</Option>
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASMLINK"/>
- <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="PP"> "-E" </Option>
+ <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="PP"> "-E", "-include ${DEST_DIR_DEBUG}/AutoGen.h" </Option>
<!-- BOB tool chain options definition : IA32 -->
<Option TagName="BOB" SupArchList="IA32" ToolCode="CC">
@@ -2781,4 +2781,4 @@ <Sections />
</BuildOptions>
-</PlatformSurfaceArea>
\ No newline at end of file +</PlatformSurfaceArea>
diff --git a/MdePkg/MdePkg.fpd b/MdePkg/MdePkg.fpd index e8adb54..7b5ac2e 100644 --- a/MdePkg/MdePkg.fpd +++ b/MdePkg/MdePkg.fpd @@ -829,79 +829,22 @@ <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="ASM">
"/nologo", "/W3", "/WX", "/c", "/coff", "/DEFI32", "/Fl${DEST_DIR_OUTPUT}/${FILE_PATH}/${FILE_BASENAME}.lst"
</Option>
- <Option BuildTargets="DEBUG" ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="ASMLINK"/>
+ <Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="ASMLINK"/>
<Option ToolChainFamily="MSFT" SupArchList="IA32" ToolCode="PP"> "/P", "/TC" </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"
- </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"
- </Option>
- <Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="ASM">
- "/nologo", "/W3", "/WX", "/c", "/DEFI32"
- </Option>
- <Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="ASMLINK"> </Option>
- <Option ToolChainFamily="MSFT" SupArchList="X64" ToolCode="PP">
- "/P"
- </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"
- </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"
- </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>
- <Option ToolChainFamily="MSFT" SupArchList="IPF" ToolCode="PP"> "/P" </Option>
- <Option ToolChainFamily="MSFT" SupArchList="IPF" ToolCode="ASL"> "/nologo" </Option>
-
- <!-- INTC tool chain options definition : EBC -->
- <Option ToolChainFamily="INTC" SupArchList="EBC" ToolCode="CC">
- "-nologo", "-FAcs", "-c", "-W3", "-WX"
- </Option>
- <Option ToolChainFamily="INTC" SupArchList="EBC" ToolCode="SLINK">
- "/lib", "/NOLOGO", "/MACHINE:EBC"
- </Option>
- <Option ToolChainFamily="INTC" SupArchList="EBC" ToolCode="DLINK">
- "/NOLOGO", "/MACHINE:EBC", "/SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER", "/OPT:REF", "/NODEFAULTLIB"
- </Option>
- <Option ToolChainFamily="INTC" SupArchList="EBC" ToolCode="PP"> "/P" </Option>
-
<!-- GCC tool chain options definition : IA32 -->
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="CC">
- "-Os", "-fshort-wchar", "-fno-strict-aliasing", "-Wall", "-Werror", "-c"
+ "-Os", "-fshort-wchar", "-fno-strict-aliasing", "-Wall", "-Werror", "-c", "-include ${DEST_DIR_DEBUG}/AutoGen.h"
</Option>
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASM"> "--warn" </Option>
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="SLINK"> </Option>
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="DLINK">
- "-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols"
+ "-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols", "--entry ${ENTRYPOINT}", "--subsystem ${SUBSYSTEM}"
</Option>
<Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="ASMLINK"/>
- <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="PP"> "-E" </Option>
+ <Option ToolChainFamily="GCC" SupArchList="IA32" ToolCode="PP"> "-E", "-include ${DEST_DIR_DEBUG}/AutoGen.h" </Option>
- <!-- BOB tool chain options definition : IA32 -->
- <Option TagName="BOB" SupArchList="IA32" ToolCode="CC">
- "-Os", "-fshort-wchar", "-fno-strict-aliasing", "-Wall", "-Werror", "-c"
- </Option>
- <Option TagName="BOB" SupArchList="IA32" ToolCode="ASM"> "--warn" </Option>
- <Option TagName="BOB" SupArchList="IA32" ToolCode="SLINK"> </Option>
- <Option TagName="BOB" SupArchList="IA32" ToolCode="DLINK">
- "-nostdlib", "-O2", "--gc-sections", "--dll", "--export-all-symbols"
- </Option>
- <Option TagName="BOB" SupArchList="IA32" ToolCode="ASMLINK"/>
- <Option TagName="BOB" SupArchList="IA32" ToolCode="PP"> "-E" </Option>
</Options>
<Ffs FfsKey="APPLICATION">
|