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_NASMCMD@
|
---|
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 = 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 /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /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 | #UDK RELEASE_VS2010_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
|
---|
152 | NOOPT_VS2010_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
|
---|
153 |
|
---|
154 | DEBUG_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
---|
155 | RELEASE_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
|
---|
156 | NOOPT_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
---|
157 |
|
---|
158 | DEBUG_VS2010_IA32_NASM_FLAGS = -Ox -f win32 -g
|
---|
159 | RELEASE_VS2010_IA32_NASM_FLAGS = -Ox -f win32
|
---|
160 | NOOPT_VS2010_IA32_NASM_FLAGS = -O0 -f win32 -g
|
---|
161 |
|
---|
162 | 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
|
---|
163 | RELEASE_VS2010_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /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 /MERGE:.rdata=.data
|
---|
164 | 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
|
---|
165 |
|
---|
166 | ##################
|
---|
167 | # X64 definitions
|
---|
168 | ##################
|
---|
169 | *_VS2010_X64_*_DLL = DEF(VS2010_BINX64);DEF(VS2010_DLL)
|
---|
170 |
|
---|
171 | *_VS2010_X64_CC_PATH = DEF(VS2010_BINX64)/cl.exe
|
---|
172 | *_VS2010_X64_PP_PATH = DEF(VS2010_BINX64)/cl.exe
|
---|
173 | *_VS2010_X64_APP_PATH = DEF(VS2010_BINX64)/cl.exe
|
---|
174 | *_VS2010_X64_VFRPP_PATH = DEF(VS2010_BINX64)/cl.exe
|
---|
175 | *_VS2010_X64_ASM_PATH = DEF(VS2010_BINX64)/ml64.exe
|
---|
176 | *_VS2010_X64_SLINK_PATH = DEF(VS2010_BINX64)/lib.exe
|
---|
177 | *_VS2010_X64_DLINK_PATH = DEF(VS2010_BINX64)/link.exe
|
---|
178 | *_VS2010_X64_ASLCC_PATH = DEF(VS2010_BINX64)/cl.exe
|
---|
179 | *_VS2010_X64_ASLPP_PATH = DEF(VS2010_BINX64)/cl.exe
|
---|
180 | *_VS2010_X64_ASLDLINK_PATH = DEF(VS2010_BINX64)/link.exe
|
---|
181 |
|
---|
182 | DEBUG_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
|
---|
183 | RELEASE_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1ib2s /Oy- /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi
|
---|
184 | #UDK RELEASE_VS2010_X64_CC_FLAGS= /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
|
---|
185 | NOOPT_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od
|
---|
186 |
|
---|
187 | DEBUG_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
---|
188 | RELEASE_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
|
---|
189 | NOOPT_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
---|
190 |
|
---|
191 | DEBUG_VS2010_X64_NASM_FLAGS = -Ox -f win64 -g
|
---|
192 | RELEASE_VS2010_X64_NASM_FLAGS = -Ox -f win64
|
---|
193 | NOOPT_VS2010_X64_NASM_FLAGS = -O0 -f win64 -g
|
---|
194 |
|
---|
195 | 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
|
---|
196 | RELEASE_VS2010_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /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 /MERGE:.rdata=.data
|
---|
197 | 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
|
---|
198 |
|
---|
199 |
|
---|
200 |
|
---|
201 |
|
---|
202 | ####################################################################################
|
---|
203 | # GCC Common
|
---|
204 | ####################################################################################
|
---|
205 |
|
---|
206 | *_*_*_OBJCOPY_PATH = echo
|
---|
207 | *_*_*_OBJCOPY_FLAGS = objcopy not needed for
|
---|
208 | *_*_*_SYMRENAME_PATH = echo
|
---|
209 | *_*_*_SYMRENAME_FLAGS = Symbol renaming not needed for
|
---|
210 | DEBUG_*_*_OBJCOPY_ADDDEBUGFLAG = --add-gnu-debuglink=$(DEBUG_DIR)\$(MODULE_NAME).debug
|
---|
211 | # todo: RELEASE_*_*_OBJCOPY_ADDDEBUGFLAG = --add-gnu-debuglink=$(DEBUG_DIR)\$(MODULE_NAME).debug
|
---|
212 | RELEASE_*_*_OBJCOPY_ADDDEBUGFLAG =
|
---|
213 |
|
---|
214 | DEFINE GCC_ALL_CC_FLAGS = -g -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-unused-but-set-variable -c -include AutoGen.h
|
---|
215 | 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@
|
---|
216 | DEFINE GCC_X64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mno-red-zone -Wno-address -mno-stack-arg-probe @VBOX_MINGW64_Wno@
|
---|
217 | DEFINE GCC_DLINK_FLAGS_COMMON = -nostdlib --pie --fatal-warnings
|
---|
218 | DEFINE GCC_IA32_X64_DLINK_COMMON = DEF(GCC_DLINK_FLAGS_COMMON) --gc-sections
|
---|
219 | DEFINE GCC_IA32_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_COMMON) --entry _ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)
|
---|
220 | 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
|
---|
221 | DEFINE GCC_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h
|
---|
222 | DEFINE GCC_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h
|
---|
223 | DEFINE GCC_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h
|
---|
224 | DEFINE GCC_ASLPP_FLAGS = -x c -E -P
|
---|
225 | DEFINE GCC_ASLCC_FLAGS = -x c
|
---|
226 | DEFINE GCC_WINDRES_FLAGS = -J rc -O coff
|
---|
227 | DEFINE GCC_IA32_RC_FLAGS = -I binary -O elf32-i386 -B i386 --rename-section .data=.hii
|
---|
228 | DEFINE GCC_X64_RC_FLAGS = -I binary -O elf64-x86-64 -B i386 --rename-section .data=.hii
|
---|
229 |
|
---|
230 |
|
---|
231 | ####################################################################################
|
---|
232 | #
|
---|
233 | # Unix GCC And Intel Linux ACPI Compiler
|
---|
234 | #
|
---|
235 | ####################################################################################
|
---|
236 | # UNIXGCC - UNIX GCC
|
---|
237 | # ASL - Intel Linux ACPI Source Language Compiler (iasl)
|
---|
238 | *_UNIXGCC_*_*_FAMILY = GCC
|
---|
239 |
|
---|
240 | *_UNIXGCC_*_MAKE_PATH = @KMK@
|
---|
241 | *_UNIXGCC_*_ASL_PATH = DEF(IASL_BIN)
|
---|
242 |
|
---|
243 | *_UNIXGCC_IA32_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0 --entry _$(IMAGE_ENTRY_POINT)
|
---|
244 | *_UNIXGCC_X64_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0 --entry @VBOX_MINGW64_USER_LABEL_PREFIX@$(IMAGE_ENTRY_POINT)
|
---|
245 | *_UNIXGCC_IA32_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
|
---|
246 | *_UNIXGCC_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_ASLDLINK_FLAGS)
|
---|
247 | *_UNIXGCC_*_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
|
---|
248 | *_UNIXGCC_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
|
---|
249 | *_UNIXGCC_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
|
---|
250 | *_UNIXGCC_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
|
---|
251 | *_UNIXGCC_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
|
---|
252 | *_UNIXGCC_*_APP_FLAGS =
|
---|
253 | *_UNIXGCC_*_ASL_FLAGS = DEF(IASL_FLAGS)
|
---|
254 | *_UNIXGCC_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
|
---|
255 |
|
---|
256 | ##################
|
---|
257 | # IA32 definitions
|
---|
258 | ##################
|
---|
259 | *_UNIXGCC_IA32_OBJCOPY_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy
|
---|
260 | *_UNIXGCC_IA32_PP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
|
---|
261 | *_UNIXGCC_IA32_CC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
|
---|
262 | *_UNIXGCC_IA32_SLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ar
|
---|
263 | *_UNIXGCC_IA32_DLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld
|
---|
264 | *_UNIXGCC_IA32_ASLPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
|
---|
265 | *_UNIXGCC_IA32_ASLCC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
|
---|
266 | *_UNIXGCC_IA32_ASLDLINK_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)ld
|
---|
267 | *_UNIXGCC_IA32_ASM_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
|
---|
268 | *_UNIXGCC_IA32_VFRPP_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)gcc
|
---|
269 | *_UNIXGCC_IA32_RC_PATH = DEF(UNIXGCC_IA32_PETOOLS_PREFIX)objcopy
|
---|
270 |
|
---|
271 | DEBUG_UNIXGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS) -Os -fno-omit-frame-pointer
|
---|
272 | NOOPT_UNIXGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS) -O0 -fno-omit-frame-pointer
|
---|
273 | RELEASE_UNIXGCC_IA32_CC_FLAGS = DEF(GCC_IA32_CC_FLAGS) -Os -fno-omit-frame-pointer
|
---|
274 | *_UNIXGCC_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
|
---|
275 | *_UNIXGCC_IA32_OBJCOPY_FLAGS =
|
---|
276 | *_UNIXGCC_IA32_NASM_FLAGS = -f win32
|
---|
277 |
|
---|
278 | ##################
|
---|
279 | # X64 definitions
|
---|
280 | ##################
|
---|
281 | *_UNIXGCC_X64_CC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
|
---|
282 | *_UNIXGCC_X64_ASLCC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
|
---|
283 | *_UNIXGCC_X64_SLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ar
|
---|
284 | *_UNIXGCC_X64_DLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld
|
---|
285 | *_UNIXGCC_X64_ASLDLINK_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)ld
|
---|
286 | *_UNIXGCC_X64_ASM_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
|
---|
287 | *_UNIXGCC_X64_PP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
|
---|
288 | *_UNIXGCC_X64_ASLPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
|
---|
289 | *_UNIXGCC_X64_VFRPP_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)gcc
|
---|
290 | *_UNIXGCC_X64_RC_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy
|
---|
291 | *_UNIXGCC_X64_OBJCOPY_PATH = DEF(UNIXGCC_X64_PETOOLS_PREFIX)objcopy
|
---|
292 |
|
---|
293 | *_UNIXGCC_X64_CC_FLAGS = DEF(GCC_X64_CC_FLAGS) -fno-omit-frame-pointer
|
---|
294 | *_UNIXGCC_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
|
---|
295 | *_UNIXGCC_X64_OBJCOPY_FLAGS =
|
---|
296 | *_UNIXGCC_X64_NASM_FLAGS = -f win64
|
---|
297 |
|
---|
298 |
|
---|
299 | ####################################################################################
|
---|
300 | #
|
---|
301 | # Misc
|
---|
302 | #
|
---|
303 | ####################################################################################
|
---|
304 |
|
---|
305 | ##################
|
---|
306 | # VfrCompiler definitions
|
---|
307 | ##################
|
---|
308 | *_*_*_VFR_PATH = VfrCompile
|
---|
309 | *_*_*_VFR_FLAGS = -l -n
|
---|
310 |
|
---|
311 | ##################
|
---|
312 | # OptionRom tool definitions
|
---|
313 | ##################
|
---|
314 | *_*_*_OPTROM_PATH = EfiRom
|
---|
315 | *_*_*_OPTROM_FLAGS = -e
|
---|
316 |
|
---|
317 | ##################
|
---|
318 | # GenFw tool definitions
|
---|
319 | ##################
|
---|
320 | *_*_*_GENFW_PATH = GenFw
|
---|
321 | *_*_*_GENFW_FLAGS =
|
---|
322 |
|
---|
323 | ##################
|
---|
324 | # Asl Compiler definitions
|
---|
325 | ##################
|
---|
326 | *_*_*_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
|
---|
327 | *_*_*_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
|
---|
328 | *_*_*_ASLPP_FLAGS = /nologo /EP /C
|
---|
329 | *_*_*_ASL_FLAGS =
|
---|
330 |
|
---|
331 | ##################
|
---|
332 | # GenCrc32 tool definitions
|
---|
333 | ##################
|
---|
334 | *_*_*_CRC32_PATH = GenCrc32
|
---|
335 | *_*_*_CRC32_GUID = FC1BCDB0-7D31-49AA-936A-A4600D9DD083
|
---|
336 |
|
---|
337 | ##################
|
---|
338 | # LzmaCompress tool definitions
|
---|
339 | ##################
|
---|
340 | *_*_*_LZMA_PATH = LzmaCompress
|
---|
341 | *_*_*_LZMA_GUID = EE4E5898-3914-4259-9D6E-DC7BD79403CF
|
---|
342 |
|
---|
343 | ##################
|
---|
344 | # LzmaF86Compress tool definitions with converter for x86 code.
|
---|
345 | # It can improve the compression ratio if the input file is IA32 or X64 PE image.
|
---|
346 | # Notes: If X64 PE image is built based on GCC44, it may not get the better compression.
|
---|
347 | ##################
|
---|
348 | *_*_*_LZMAF86_PATH = LzmaF86Compress
|
---|
349 | *_*_*_LZMAF86_GUID = D42AE6BD-1352-4bfb-909A-CA72A6EAE889
|
---|
350 |
|
---|
351 | ##################
|
---|
352 | # TianoCompress tool definitions
|
---|
353 | ##################
|
---|
354 | *_*_*_TIANO_PATH = TianoCompress
|
---|
355 | *_*_*_TIANO_GUID = A31280AD-481E-41B6-95E8-127F4C984779
|
---|
356 |
|
---|
357 | ##################
|
---|
358 | # BPDG tool definitions
|
---|
359 | ##################
|
---|
360 | *_*_*_VPDTOOL_PATH = BPDG
|
---|
361 | *_*_*_VPDTOOL_GUID = 8C3D856A-9BE6-468E-850A-24F7A8D38E08
|
---|
362 |
|
---|
363 | ##################
|
---|
364 | # NASM tool definitions
|
---|
365 | ##################
|
---|
366 | *_*_*_NASM_PATH = DEF(NASM_BIN)
|
---|
367 | # NASMB uses NASM produce a .bin from a .nasmb NASM source file
|
---|
368 | #*_*_*_NASMB_FLAGS = -f bin -D__YASM__ -DASM_FORMAT_BIN -DVBOX
|
---|
369 | *_*_*_NASMB_FLAGS = -f bin -DASM_FORMAT_BIN -DVBOX
|
---|
370 |
|
---|
371 | #################
|
---|
372 | # Build rule order
|
---|
373 | #################
|
---|
374 | *_*_*_*_BUILDRULEORDER = nasm asm Asm ASM S s nasmb asm16
|
---|