1 | #
|
---|
2 | # Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
---|
3 | # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
---|
4 | #
|
---|
5 | # This program and the accompanying materials
|
---|
6 | # are licensed and made available under the terms and conditions of the BSD License
|
---|
7 | # which accompanies this distribution. The full text of the license may be found at
|
---|
8 | # http://opensource.org/licenses/bsd-license.php
|
---|
9 | #
|
---|
10 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
---|
11 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
---|
12 | #
|
---|
13 |
|
---|
14 | IDENTIFIER = Default TOOL_CHAIN_CONF
|
---|
15 |
|
---|
16 | DEFINE VS2010_BIN = @PATH_VS2010@/bin
|
---|
17 | DEFINE VS2010_DLL = @PATH_VS2010@/bin
|
---|
18 | DEFINE VS2010_BINX64 = @PATH_VS2010_AMD64_BIN@
|
---|
19 |
|
---|
20 | DEFINE WINSDK_BIN = c:\no\such\directory
|
---|
21 |
|
---|
22 | DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = @VBOX_PATH_PREFIX_MINGW32@
|
---|
23 | DEFINE UNIXGCC_X64_PETOOLS_PREFIX = @VBOX_PATH_PREFIX_MINGW64@
|
---|
24 |
|
---|
25 | DEFINE IASL_BIN = @VBOX_IASLCMD@
|
---|
26 | DEFINE IASL_FLAGS =
|
---|
27 | DEFINE IASL_OUTFLAGS = -p
|
---|
28 |
|
---|
29 | DEFINE MSFT_ASLPP_FLAGS = /nologo /E /C /FIAutoGen.h
|
---|
30 | DEFINE MSFT_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
|
---|
31 | DEFINE MSFT_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
|
---|
32 |
|
---|
33 |
|
---|
34 |
|
---|
35 | ####################################################################################
|
---|
36 | #
|
---|
37 | # format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>
|
---|
38 | # priority:
|
---|
39 | # TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE (Highest)
|
---|
40 | # ******_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE
|
---|
41 | # TARGET_*********_ARCH_COMMANDTYPE_ATTRIBUTE
|
---|
42 | # ******_*********_ARCH_COMMANDTYPE_ATTRIBUTE
|
---|
43 | # TARGET_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
|
---|
44 | # ******_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
|
---|
45 | # TARGET_*********_****_COMMANDTYPE_ATTRIBUTE
|
---|
46 | # ******_*********_****_COMMANDTYPE_ATTRIBUTE
|
---|
47 | # TARGET_TOOLCHAIN_ARCH_***********_ATTRIBUTE
|
---|
48 | # ******_TOOLCHAIN_ARCH_***********_ATTRIBUTE
|
---|
49 | # TARGET_*********_ARCH_***********_ATTRIBUTE
|
---|
50 | # ******_*********_ARCH_***********_ATTRIBUTE
|
---|
51 | # TARGET_TOOLCHAIN_****_***********_ATTRIBUTE
|
---|
52 | # ******_TOOLCHAIN_****_***********_ATTRIBUTE
|
---|
53 | # TARGET_*********_****_***********_ATTRIBUTE
|
---|
54 | # ******_*********_****_***********_ATTRIBUTE (Lowest)
|
---|
55 | #
|
---|
56 | ####################################################################################
|
---|
57 | ####################################################################################
|
---|
58 | #
|
---|
59 | # Supported Tool Chains
|
---|
60 | # =====================
|
---|
61 | # VS2010 -win32- Requires:
|
---|
62 | # Microsoft Visual Studio 2010 Premium Edition
|
---|
63 | # Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
|
---|
64 | # Optional:
|
---|
65 | # Required to build EBC drivers:
|
---|
66 | # Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
|
---|
67 | # Required to build platforms or ACPI tables:
|
---|
68 | # Intel(r) ACPI Compiler (iasl.exe) v20101013 from
|
---|
69 | # http://www.acpica.org/downloads/previous_releases.php
|
---|
70 | # UNIXGCC -UNIX- Requires:
|
---|
71 | # GCC 4.3.0
|
---|
72 | # binutils 2.20.51.0.5
|
---|
73 | # Optional:
|
---|
74 | # Required to build platforms or ACPI tables:
|
---|
75 | # Intel(r) ACPI Compiler v20101013 from
|
---|
76 | # http://www.acpica.org/downloads/previous_releases.php
|
---|
77 | # VS2010x86 -win64- Requires:
|
---|
78 | # Microsoft Visual Studio 2010 (x86) Premium Edition
|
---|
79 | # Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
|
---|
80 | # Optional:
|
---|
81 | # Required to build platforms or ACPI tables:
|
---|
82 | # Intel(r) ACPI Compiler (iasl.exe) v20101013 from
|
---|
83 | # http://www.acpica.org/downloads/previous_releases.php
|
---|
84 | #
|
---|
85 | ####################################################################################
|
---|
86 | ####################################################################################
|
---|
87 | #
|
---|
88 | # Supported Tool Chain Families
|
---|
89 | # =============================
|
---|
90 | # MSFT - Microsoft
|
---|
91 | # GCC - GNU GCC
|
---|
92 | # INTEL - INTEL
|
---|
93 | # RVCT - ARM RealView Toolchain
|
---|
94 | ####################################################################################
|
---|
95 |
|
---|
96 |
|
---|
97 |
|
---|
98 | ####################################################################################
|
---|
99 | #
|
---|
100 | # Microsoft Visual Studio 2010
|
---|
101 | #
|
---|
102 | # VS2010 - Microsoft Visual Studio 2010 Premium Edition
|
---|
103 | # ASL - Intel ACPI Source Language Compiler
|
---|
104 | ####################################################################################
|
---|
105 | # VS2010 - Microsoft Visual Studio 2010 Premium Edition
|
---|
106 | *_VS2010_*_*_FAMILY = MSFT
|
---|
107 |
|
---|
108 | *_VS2010_*_MAKE_PATH = DEF(VS2010_BIN)/nmake.exe
|
---|
109 | *_VS2010_*_MAKE_FLAGS = /nologo
|
---|
110 | *_VS2010_*_RC_PATH = DEF(WINSDK_BIN)/rc.exe
|
---|
111 |
|
---|
112 | *_VS2010_*_SLINK_FLAGS = /NOLOGO /LTCG
|
---|
113 | *_VS2010_*_APP_FLAGS = /nologo /E /TC
|
---|
114 | *_VS2010_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
---|
115 | *_VS2010_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
---|
116 |
|
---|
117 | *_VS2010_*_ASM16_PATH = DEF(VS2010_BIN)/ml.exe
|
---|
118 |
|
---|
119 | ##################
|
---|
120 | # ASL definitions
|
---|
121 | ##################
|
---|
122 | *_VS2010_*_ASL_PATH = DEF(IASL_BIN)
|
---|
123 | *_VS2010_*_ASL_FLAGS = DEF(IASL_FLAGS)
|
---|
124 | *_VS2010_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
|
---|
125 | *_VS2010_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
|
---|
126 | *_VS2010_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
|
---|
127 | *_VS2010_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
|
---|
128 |
|
---|
129 | ##################
|
---|
130 | # IA32 definitions
|
---|
131 | ##################
|
---|
132 | *_VS2010_IA32_*_DLL = DEF(VS2010_DLL)
|
---|
133 |
|
---|
134 | *_VS2010_IA32_MAKE_PATH = DEF(VS2010_BIN)/nmake.exe
|
---|
135 | *_VS2010_IA32_CC_PATH = DEF(VS2010_BIN)/cl.exe
|
---|
136 | *_VS2010_IA32_VFRPP_PATH = DEF(VS2010_BIN)/cl.exe
|
---|
137 | *_VS2010_IA32_SLINK_PATH = DEF(VS2010_BIN)/lib.exe
|
---|
138 | *_VS2010_IA32_DLINK_PATH = DEF(VS2010_BIN)/link.exe
|
---|
139 | *_VS2010_IA32_APP_PATH = DEF(VS2010_BIN)/cl.exe
|
---|
140 | *_VS2010_IA32_PP_PATH = DEF(VS2010_BIN)/cl.exe
|
---|
141 | *_VS2010_IA32_ASM_PATH = DEF(VS2010_BIN)/ml.exe
|
---|
142 | *_VS2010_IA32_ASLCC_PATH = DEF(VS2010_BIN)/cl.exe
|
---|
143 | *_VS2010_IA32_ASLPP_PATH = DEF(VS2010_BIN)/cl.exe
|
---|
144 | *_VS2010_IA32_ASLDLINK_PATH = DEF(VS2010_BIN)/link.exe
|
---|
145 |
|
---|
146 | *_VS2010_IA32_MAKE_FLAGS = /nologo
|
---|
147 | DEBUG_VS2010_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2s /Oy- /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
|
---|
148 | RELEASE_VS2010_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2s /Oy- /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi
|
---|
149 | NOOPT_VS2010_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
|
---|
150 |
|
---|
151 | DEBUG_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
---|
152 | RELEASE_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
---|
153 | NOOPT_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
---|
154 |
|
---|
155 | DEBUG_VS2010_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
---|
156 | RELEASE_VS2010_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG /IGNORE:4254 /MERGE:.data=.text /MERGE:.rdata=.text
|
---|
157 | NOOPT_VS2010_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
---|
158 |
|
---|
159 | ##################
|
---|
160 | # X64 definitions
|
---|
161 | ##################
|
---|
162 | *_VS2010_X64_*_DLL = DEF(VS2010_BINX64);DEF(VS2010_DLL)
|
---|
163 |
|
---|
164 | *_VS2010_X64_CC_PATH = DEF(VS2010_BINX64)/cl.exe
|
---|
165 | *_VS2010_X64_PP_PATH = DEF(VS2010_BINX64)/cl.exe
|
---|
166 | *_VS2010_X64_APP_PATH = DEF(VS2010_BINX64)/cl.exe
|
---|
167 | *_VS2010_X64_VFRPP_PATH = DEF(VS2010_BINX64)/cl.exe
|
---|
168 | *_VS2010_X64_ASM_PATH = DEF(VS2010_BINX64)/ml64.exe
|
---|
169 | *_VS2010_X64_SLINK_PATH = DEF(VS2010_BINX64)/lib.exe
|
---|
170 | *_VS2010_X64_DLINK_PATH = DEF(VS2010_BINX64)/link.exe
|
---|
171 | *_VS2010_X64_ASLCC_PATH = DEF(VS2010_BINX64)/cl.exe
|
---|
172 | *_VS2010_X64_ASLPP_PATH = DEF(VS2010_BINX64)/cl.exe
|
---|
173 | *_VS2010_X64_ASLDLINK_PATH = DEF(VS2010_BINX64)/link.exe
|
---|
174 |
|
---|
175 | DEBUG_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2s /Oy- /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
|
---|
176 | RELEASE_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2s /Oy- /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi
|
---|
177 | NOOPT_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
|
---|
178 |
|
---|
179 | DEBUG_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
---|
180 | RELEASE_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
---|
181 | NOOPT_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
---|
182 |
|
---|
183 | DEBUG_VS2010_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
---|
184 | RELEASE_VS2010_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG /IGNORE:4254 /MERGE:.data=.text /MERGE:.rdata=.text
|
---|
185 | NOOPT_VS2010_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
---|
186 |
|
---|
187 |
|
---|
188 |
|
---|
189 |
|
---|
190 | ####################################################################################
|
---|
191 | # GCC Common
|
---|
192 | ####################################################################################
|
---|
193 |
|
---|
194 | *_*_*_OBJCOPY_PATH = echo
|
---|
195 | *_*_*_OBJCOPY_FLAGS = objcopy not needed for
|
---|
196 | *_*_*_SYMRENAME_PATH = echo
|
---|
197 | *_*_*_SYMRENAME_FLAGS = Symbol renaming not needed for
|
---|
198 | DEBUG_*_*_OBJCOPY_ADDDEBUGFLAG = --add-gnu-debuglink=$(DEBUG_DIR)\$(MODULE_NAME).debug
|
---|
199 | # todo: RELEASE_*_*_OBJCOPY_ADDDEBUGFLAG = --add-gnu-debuglink=$(DEBUG_DIR)\$(MODULE_NAME).debug
|
---|
200 | RELEASE_*_*_OBJCOPY_ADDDEBUGFLAG =
|
---|
201 |
|
---|
202 | DEFINE GCC_ALL_CC_FLAGS = -g -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include AutoGen.h
|
---|
203 | DEFINE GCC_IA32_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition -mno-stack-arg-probe @VBOX_MINGW32_Wno@
|
---|
204 | DEFINE GCC_X64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mno-red-zone -Wno-address -mno-stack-arg-probe @VBOX_MINGW64_Wno@
|
---|
205 | DEFINE GCC_DLINK_FLAGS_COMMON = -nostdlib --pie --fatal-warnings
|
---|
206 | DEFINE GCC_IA32_X64_DLINK_COMMON = DEF(GCC_DLINK_FLAGS_COMMON) --gc-sections
|
---|
207 | DEFINE GCC_IA32_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_COMMON) --entry _ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)
|
---|
208 | DEFINE GCC_IA32_X64_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_COMMON) --file-alignment 0x20 --section-alignment 0x20 -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
|
---|
209 | DEFINE GCC_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
|
---|
210 | DEFINE GCC_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
|
---|
211 | DEFINE GCC_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
|
---|
212 | DEFINE GCC_ASLPP_FLAGS = -x c -E -P
|
---|
213 | DEFINE GCC_ASLCC_FLAGS = -x c
|
---|
214 | DEFINE GCC_WINDRES_FLAGS = -J rc -O coff
|
---|
215 | DEFINE GCC_IA32_RC_FLAGS = -I binary -O elf32-i386 -B i386 --rename-section .data=.hii
|
---|
216 | DEFINE GCC_X64_RC_FLAGS = -I binary -O elf64-x86-64 -B i386 --rename-section .data=.hii
|
---|
217 |
|
---|
218 |
|
---|
219 | ####################################################################################
|
---|
220 | #
|
---|
221 | # Unix GCC And Intel Linux ACPI Compiler
|
---|
222 | #
|
---|
223 | ####################################################################################
|
---|
224 | # UNIXGCC - UNIX GCC
|
---|
225 | # ASL - Intel Linux ACPI Source Language Compiler (iasl)
|
---|
226 | *_UNIXGCC_*_*_FAMILY = GCC
|
---|
227 |
|
---|
228 | *_UNIXGCC_*_MAKE_PATH = @KMK@
|
---|
229 | *_UNIXGCC_*_ASL_PATH = DEF(IASL_BIN)
|
---|
230 |
|
---|
231 | *_UNIXGCC_IA32_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0 --entry _$(IMAGE_ENTRY_POINT)
|
---|
232 | *_UNIXGCC_X64_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0 --entry @VBOX_MINGW64_USER_LABEL_PREFIX@$(IMAGE_ENTRY_POINT)
|
---|
233 | *_UNIXGCC_IA32_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
|
---|
234 | *_UNIXGCC_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
|
---|
235 | *_UNIXGCC_*_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
|
---|
236 | *_UNIXGCC_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
|
---|
237 | *_UNIXGCC_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
|
---|
238 | *_UNIXGCC_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
|
---|
239 | *_UNIXGCC_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
|
---|
240 | *_UNIXGCC_*_APP_FLAGS =
|
---|
241 | *_UNIXGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
|
---|
242 | *_UNIXGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
|
---|
243 |
|
---|
244 | ##################
|
---|
245 | # IA32 definitions
|
---|
246 | ##################
|
---|
247 | *_UNIXGCC_IA32_OBJCOPY_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy
|
---|
248 | *_UNIXGCC_IA32_PP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
|
---|
249 | *_UNIXGCC_IA32_CC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
|
---|
250 | *_UNIXGCC_IA32_SLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ar
|
---|
251 | *_UNIXGCC_IA32_DLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld
|
---|
252 | *_UNIXGCC_IA32_ASLPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
|
---|
253 | *_UNIXGCC_IA32_ASLCC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
|
---|
254 | *_UNIXGCC_IA32_ASLDLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld
|
---|
255 | *_UNIXGCC_IA32_ASM_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
|
---|
256 | *_UNIXGCC_IA32_VFRPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
|
---|
257 | *_UNIXGCC_IA32_RC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy
|
---|
258 |
|
---|
259 | DEBUG_UNIXGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS) -O1 -fno-omit-frame-pointer
|
---|
260 | NOOPT_UNIXGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS) -O0 -fno-omit-frame-pointer
|
---|
261 | RELEASE_UNIXGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS) -O2 -fno-omit-frame-pointer
|
---|
262 | *_UNIXGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
|
---|
263 | *_UNIXGCC_IA32_OBJCOPY_FLAGS =
|
---|
264 |
|
---|
265 | ##################
|
---|
266 | # X64 definitions
|
---|
267 | ##################
|
---|
268 | *_UNIXGCC_X64_CC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
|
---|
269 | *_UNIXGCC_X64_ASLCC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
|
---|
270 | *_UNIXGCC_X64_SLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ar
|
---|
271 | *_UNIXGCC_X64_DLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld
|
---|
272 | *_UNIXGCC_X64_ASLDLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld
|
---|
273 | *_UNIXGCC_X64_ASM_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
|
---|
274 | *_UNIXGCC_X64_PP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
|
---|
275 | *_UNIXGCC_X64_ASLPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
|
---|
276 | *_UNIXGCC_X64_VFRPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
|
---|
277 | *_UNIXGCC_X64_RC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy
|
---|
278 | *_UNIXGCC_X64_OBJCOPY_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy
|
---|
279 |
|
---|
280 | *_UNIXGCC_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS) -fno-omit-frame-pointer
|
---|
281 | *_UNIXGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
|
---|
282 | *_UNIXGCC_X64_OBJCOPY_FLAGS =
|
---|
283 |
|
---|
284 |
|
---|
285 | ####################################################################################
|
---|
286 | #
|
---|
287 | # Misc
|
---|
288 | #
|
---|
289 | ####################################################################################
|
---|
290 |
|
---|
291 | ##################
|
---|
292 | # VfrCompiler definitions
|
---|
293 | ##################
|
---|
294 | *_*_*_VFR_PATH = VfrCompile
|
---|
295 | *_*_*_VFR_FLAGS = -l -n
|
---|
296 |
|
---|
297 | ##################
|
---|
298 | # OptionRom tool definitions
|
---|
299 | ##################
|
---|
300 | *_*_*_OPTROM_PATH = EfiRom
|
---|
301 | *_*_*_OPTROM_FLAGS = -e
|
---|
302 |
|
---|
303 | ##################
|
---|
304 | # GenFw tool definitions
|
---|
305 | ##################
|
---|
306 | *_*_*_GENFW_PATH = GenFw
|
---|
307 | *_*_*_GENFW_FLAGS =
|
---|
308 |
|
---|
309 | ##################
|
---|
310 | # Asl Compiler definitions
|
---|
311 | ##################
|
---|
312 | *_*_*_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
|
---|
313 | *_*_*_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
|
---|
314 | *_*_*_ASLPP_FLAGS = /nologo /EP /C
|
---|
315 | *_*_*_ASL_FLAGS =
|
---|
316 |
|
---|
317 | ##################
|
---|
318 | # GenCrc32 tool definitions
|
---|
319 | ##################
|
---|
320 | *_*_*_CRC32_PATH = GenCrc32
|
---|
321 | *_*_*_CRC32_GUID = FC1BCDB0-7D31-49AA-936A-A4600D9DD083
|
---|
322 |
|
---|
323 | ##################
|
---|
324 | # LzmaCompress tool definitions
|
---|
325 | ##################
|
---|
326 | *_*_*_LZMA_PATH = LzmaCompress
|
---|
327 | *_*_*_LZMA_GUID = EE4E5898-3914-4259-9D6E-DC7BD79403CF
|
---|
328 |
|
---|
329 | ##################
|
---|
330 | # LzmaF86Compress tool definitions with converter for x86 code.
|
---|
331 | # It can improve the compression ratio if the input file is IA32 or X64 PE image.
|
---|
332 | # Notes: If X64 PE image is built based on GCC44, it may not get the better compression.
|
---|
333 | ##################
|
---|
334 | *_*_*_LZMAF86_PATH = LzmaF86Compress
|
---|
335 | *_*_*_LZMAF86_GUID = D42AE6BD-1352-4bfb-909A-CA72A6EAE889
|
---|
336 |
|
---|
337 | ##################
|
---|
338 | # TianoCompress tool definitions
|
---|
339 | ##################
|
---|
340 | *_*_*_TIANO_PATH = TianoCompress
|
---|
341 | *_*_*_TIANO_GUID = A31280AD-481E-41B6-95E8-127F4C984779
|
---|
342 |
|
---|
343 | ##################
|
---|
344 | # BPDG tool definitions
|
---|
345 | ##################
|
---|
346 | *_*_*_VPDTOOL_PATH = BPDG
|
---|
347 | *_*_*_VPDTOOL_GUID = 8C3D856A-9BE6-468E-850A-24F7A8D38E08
|
---|
348 |
|
---|