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