VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/BaseTools/Conf/build_rule.template@ 56361

Last change on this file since 56361 was 48674, checked in by vboxsync, 12 years ago

EFI: Export newly imported tinaocore UEFI sources to OSE.

  • Property svn:eol-style set to native
File size: 18.6 KB
Line 
1#
2# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
3# Portions copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
4# This program and the accompanying materials
5# are licensed and made available under the terms and conditions of the BSD License
6# which accompanies this distribution. The full text of the license may be found at
7# http://opensource.org/licenses/bsd-license.php
8
9# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11#
12
13## Syntax
14#
15# "*" is used to indicate that the source files will be processed at the same time.
16# "?" is used to indicate that the source files will be processed one by one.
17#
18# "[" <File-Type>[.<Build-Type>][.<Arch>][, <File-Type>[.<Build-Type>][.<Arch>]] "]" <EOL>
19# <InputFile[.<ToolChainFamily>]> <EOL>
20# (?|*).<File-Extension> [(\n|,) (?|*).<File-Extension>]
21#
22# <OutputFile[.<ToolChainFamily>]> <EOL>
23# <FileFullPath>
24#
25# <ExtraDependency>
26# <FileFullPath>
27#
28# <Command[.<ToolChainFamily>]> <EOL>
29# <Command1>
30# [<Command2>]
31#
32# <Build-Type> is the MODULE_TYPE in EDK2 or COMPONENT_TYPE in EDK.
33# Missing <InputFile> will cause an exception and break build.
34# Missing <Command> will cause that related build target won't be generated but
35# won't break build.
36#
37
38## Placeholders for string substitution
39#
40# ${src} Source file(s) to be built (full path)
41# ${s_path} Source file directory (absolute path)
42# ${s_dir} Source file relative directory within a module
43# (Note: ${s_dir} is always equals to "." if source file is given in absolute path.)
44# ${s_name} Source file name without path
45# ${s_base} Source file name without extension and path
46# ${s_ext} Source file extension
47#
48# ${dst} Destination file(s) built from ${src} (full path)
49# ${d_path} Destination file directory (absolute path)
50# ${d_name} Destination file name without path
51# ${d_base} Destination file name without extension and path
52# ${d_ext} Destination file extension
53#
54# (+) Directory separator
55#
56
57## Macro
58# $(WORKSPACE) Workspace directory
59# $(OUTPUT_DIR) Directory for intermediate files for building a module
60# $(DEBUG_DIR) Directory for files used to debug a module
61# $(BUILD_DIR) All files for building a platform will be put in this directory
62# $(BIN_DIR) Common directory for executable files
63# $(FV_DIR) Directory to store flash image files
64# $(INC) Search path of current module
65# $(INC_LIST) A file containing search pathes of current module
66# $(LIBS) Static library files of current module
67# $(<tool>_FLAGS) Tools flags of current module
68# $(MODULE_NAME) Current module name
69# $(MODULE_TYPE) Current module type
70# $(MODULE_GUID) Current module guid
71# $(ARCH) Architecture of current module
72# $(TOOLCHAIN) Toolchain used to build current module
73# $(TARGET) Target of current module (DEBUG/RELEASE)
74# $(<tool>) Path of tool
75# $(EDK_TOOLS_PATH) Path of build tools
76# $(<FILE_TYPES>) File list of each file type
77# (Note: The macro name is derived from file type name. For example,
78# C-Code-File will have C_CODE_FILES macro.)
79# $(<FILE_TYPES_LIST>) Macro point to a file containing list of files of a file type
80# (
81# Note: The macro and file name are derived from file type name.
82# For example, C-Code-File will have C_CODE_FILES_LIST macro pointing
83# to $(OUTPUT_DIR)/c_code_files.lst. The list file and macro name
84# will be generated only when this macro is used in command line.
85# This is intended to get over the long command line limitation.
86# )
87#
88# $(CP) copy command
89# $(MV) move command
90# $(RM) delete command
91# $(MD) create dir command
92# $(RD) remove dir command
93#
94
95## Reserved File-Type
96#
97# Don't change following names of file types and their associated files,
98# which are also used in tools' code
99#
100# C-Code-File
101# C-Header-File
102# Dynamic-Library-File
103# Static-Library-File
104# Visual-Form-Representation-File
105# Unicode-Text-File
106#
107
108## Build Rule Version Number
109# build_rule_version=0.1
110#
111
112[C-Code-File]
113 <InputFile>
114 ?.c
115 ?.C
116 ?.cc
117 ?.CC
118 ?.cpp
119 ?.Cpp
120 ?.CPP
121
122 <ExtraDependency>
123 $(MAKE_FILE)
124
125 <OutputFile>
126 $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj
127
128 <Command.MSFT, Command.INTEL>
129 "$(CC)" /Fo${dst} $(CC_FLAGS) $(INC) ${src}
130
131 <Command.GCC, Command.RVCT>
132 # For RVCTCYGWIN CC_FLAGS must be first to work around pathing issues
133 "$(CC)" $(CC_FLAGS) -o ${dst} $(INC) ${src}
134 "$(SYMRENAME)" $(SYMRENAME_FLAGS) ${dst}
135
136 <Command.ARMGCC, Command.ARMLINUXGCC>
137 "$(CC)" $(CC_FLAGS) -o ${dst} $(INC) ${src}
138
139
140[C-Header-File]
141 <InputFile>
142 *.h, *.H
143
144 <OutputFile>
145
146 <Command>
147
148
149[Assembly-Code-File.COMMON.COMMON]
150 <InputFile.MSFT, InputFile.INTEL, InputFile.RVCT>
151 ?.asm, ?.Asm, ?.ASM
152
153 <InputFile.GCC>
154 ?.S, ?.s
155
156 <ExtraDependency>
157 $(MAKE_FILE)
158
159 <OutputFile>
160 $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj
161
162 <Command.MSFT, Command.INTEL>
163 "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i
164 Trim --source-code --convert-hex -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i
165 "$(ASM)" /Fo${dst} $(ASM_FLAGS) /I${s_path} $(INC) ${d_path}(+)${s_base}.iii
166
167 <Command.GCC, Command.RVCT>
168 "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i
169 Trim --source-code -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i
170 # For RVCTCYGWIN ASM_FLAGS must be first to work around pathing issues
171 "$(ASM)" $(ASM_FLAGS) -o ${dst} $(INC) ${d_path}(+)${s_base}.iii
172
173[Assembly-Code-File.COMMON.IPF]
174 <InputFile>
175 ?.s
176
177 <ExtraDependency>
178 $(MAKE_FILE)
179
180 <OutputFile>
181 $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj
182
183 <Command.MSFT, Command.INTEL>
184 "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i
185 Trim --source-code -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i
186 # For RVCTCYGWIN ASM_FLAGS must be first to work around pathing issues
187 "$(ASM)" $(ASM_FLAGS) -o ${dst} ${d_path}(+)${s_base}.iii
188
189[Visual-Form-Representation-File]
190 <InputFile>
191 ?.vfr
192 ?.Vfr
193 ?.VFR
194
195 <ExtraDependency>
196 $(MAKE_FILE)
197
198 <OutputFile>
199 $(DEBUG_DIR)(+)${s_dir}(+)${s_base}.c
200
201 <Command>
202 "$(VFRPP)" $(VFRPP_FLAGS) $(INC) ${src} > $(OUTPUT_DIR)(+)${s_base}.i
203 "$(VFR)" $(VFR_FLAGS) --string-db $(OUTPUT_DIR)(+)$(MODULE_NAME)StrDefs.hpk --output-directory ${d_path} $(OUTPUT_DIR)(+)${s_base}.i
204
205[Object-File]
206 <InputFile>
207 *.obj
208 *.o
209
210 <OutputFile>
211 $(OUTPUT_DIR)(+)$(MODULE_NAME).lib
212
213 <Command.MSFT, Command.INTEL>
214 "$(SLINK)" $(SLINK_FLAGS) /OUT:${dst} @$(OBJECT_FILES_LIST)
215
216 <Command.GCC>
217 "$(SLINK)" -cr ${dst} $(SLINK_FLAGS) @$(OBJECT_FILES_LIST)
218
219 <Command.RVCT>
220 "$(SLINK)" $(SLINK_FLAGS) ${dst} --via $(OBJECT_FILES_LIST)
221
222 <Command.RVCTCYGWIN, Command.ARMGCC, Command.ARMLINUXGCC>
223 # $(OBJECT_FILES_LIST) has wrong paths for cygwin
224 "$(SLINK)" $(SLINK_FLAGS) ${dst} $(OBJECT_FILES)
225
226 <Command.XCODE>
227 "$(SLINK)" $(SLINK_FLAGS) ${dst} -filelist $(OBJECT_FILES_LIST)
228
229[Static-Library-File]
230 <InputFile>
231 *.lib
232
233 <ExtraDependency>
234 $(MAKE_FILE)
235
236 <OutputFile>
237 $(DEBUG_DIR)(+)$(MODULE_NAME).dll
238
239 <Command.MSFT, Command.INTEL>
240 "$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK_SPATH) @$(STATIC_LIBRARY_FILES_LIST)
241
242 <Command.GCC>
243 "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -\( $(DLINK_SPATH) @$(STATIC_LIBRARY_FILES_LIST) -\) $(DLINK2_FLAGS)
244 "$(OBJCOPY)" $(OBJCOPY_FLAGS) ${dst}
245
246 <Command.ARMGCC, Command.ARMLINUXGCC>
247 "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -\( $(DLINK_SPATH) $(STATIC_LIBRARY_FILES) -\) $(DLINK2_FLAGS)
248
249 <Command.RVCT>
250 "$(DLINK)" $(DLINK_FLAGS) -o ${dst} $(DLINK_SPATH) --via $(STATIC_LIBRARY_FILES_LIST) $(DLINK2_FLAGS)
251
252 <Command.RVCTCYGWIN>
253 #$(STATIC_LIBRARY_FILES_LIST) has wrong paths for cygwin
254 "$(DLINK)" $(DLINK_FLAGS) -o ${dst} $(DLINK_SPATH) $(STATIC_LIBRARY_FILES) $(DLINK2_FLAGS)
255
256 <Command.XCODE>
257 "$(DLINK)" $(DLINK_FLAGS) -o ${dst} $(DLINK_SPATH) -filelist $(STATIC_LIBRARY_FILES_LIST) $(DLINK2_FLAGS)
258
259
260[Static-Library-File.USER_DEFINED]
261 <InputFile>
262 *.lib
263
264 <ExtraDependency>
265 $(MAKE_FILE)
266
267 <OutputFile>
268 $(DEBUG_DIR)(+)$(MODULE_NAME)
269
270 <Command.MSFT, Command.INTEL>
271 "$(DLINK)" $(DLINK_FLAGS) $(DLINK_SPATH) @$(STATIC_LIBRARY_FILES_LIST)
272
273 <Command.GCC>
274 "$(DLINK)" $(DLINK_FLAGS) -\( $(DLINK_SPATH) @$(STATIC_LIBRARY_FILES_LIST) -\) $(DLINK2_FLAGS)
275
276 <Command.ARMGCC, Command.ARMLINUXGCC>
277 "$(DLINK)" $(DLINK_FLAGS) -\( $(DLINK_SPATH) $(STATIC_LIBRARY_FILES) -\) $(DLINK2_FLAGS)
278
279 <Command.RVCT>
280 "$(DLINK)" $(DLINK_FLAGS) -o ${dst} $(DLINK_SPATH) --via $(STATIC_LIBRARY_FILES_LIST) $(DLINK2_FLAGS)
281
282 <Command.RVCTCYGWIN>
283 #$(STATIC_LIBRARY_FILES_LIST) has the wrong paths for cygwin
284 "$(DLINK)" $(DLINK_FLAGS) -o ${dst} $(DLINK_SPATH) $(STATIC_LIBRARY_FILES) $(DLINK2_FLAGS)
285
286 <Command.XCODE>
287 "$(DLINK)" -o ${dst} $(DLINK_FLAGS) $(DLINK_SPATH) -filelist $(STATIC_LIBRARY_FILES_LIST) $(DLINK2_FLAGS)
288
289
290[Dynamic-Library-File]
291 <InputFile>
292 ?.dll
293
294 <OutputFile>
295 $(DEBUG_DIR)(+)$(MODULE_NAME).efi
296
297 <Command.MSFT, Command.INTEL, Command.RVCT, Command.ARMGCC, Command.ARMLINUXGCC>
298 "$(GENFW)" -e $(MODULE_TYPE) -o ${dst} ${src} $(GENFW_FLAGS)
299 $(CP) ${dst} $(OUTPUT_DIR)
300 $(CP) ${dst} $(BIN_DIR)
301 -$(CP) $(DEBUG_DIR)(+)*.map $(OUTPUT_DIR)
302
303 <Command.GCC>
304 $(OBJCOPY) --only-keep-debug ${src} $(DEBUG_DIR)(+)$(MODULE_NAME).debug
305 $(OBJCOPY) --strip-unneeded ${src}
306
307 #
308 #The below 2 lines are only needed for UNIXGCC tool chain, which genereates PE image directly
309 #
310 -$(OBJCOPY) $(OBJCOPY_ADDDEBUGFLAG) ${src}
311 -$(CP) $(DEBUG_DIR)(+)$(MODULE_NAME).debug $(BIN_DIR)
312
313 "$(GENFW)" -e $(MODULE_TYPE) -o ${dst} ${src} $(GENFW_FLAGS)
314 $(CP) ${dst} $(OUTPUT_DIR)
315 $(CP) ${dst} $(BIN_DIR)
316 -$(CP) $(DEBUG_DIR)(+)*.map $(OUTPUT_DIR)
317
318 <Command.XCODE>
319 # tool to convert Mach-O to PE/COFF
320 "$(MTOC)" -subsystem $(MODULE_TYPE) $(MTOC_FLAGS) ${src} $(DEBUG_DIR)(+)$(MODULE_NAME).pecoff
321 # create symbol file for GDB debug
322 -$(DSYMUTIL) ${src}
323 "$(GENFW)" -e $(MODULE_TYPE) -o ${dst} $(DEBUG_DIR)(+)$(MODULE_NAME).pecoff $(GENFW_FLAGS)
324 $(CP) ${dst} $(OUTPUT_DIR)
325 $(CP) ${dst} $(BIN_DIR)
326 -$(CP) $(DEBUG_DIR)(+)*.map $(OUTPUT_DIR)
327
328[Dependency-Expression-File]
329 <InputFile>
330 ?.dxs, ?.Dxs, ?.DXS
331
332 <OutputFile>
333 $(OUTPUT_DIR)(+)$(MODULE_NAME).depex
334
335 <ExtraDependency>
336 $(MAKE_FILE)
337
338 <Command>
339 "$(PP)" $(APP_FLAGS) $(INC) ${src} > $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i
340 Trim --source-code -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i
341 GenDepex -t $(MODULE_TYPE) -o ${dst} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii
342
343[Acpi-Source-Language-File]
344 <InputFile>
345 ?.asl, ?.Asl, ?.ASL
346
347 <OutputFile>
348 $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.aml
349
350 <ExtraDependency>
351 $(MAKE_FILE)
352
353 <Command.MSFT, Command.INTEL>
354 Trim --asl-file -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i -i $(INC_LIST) ${src}
355 "$(ASLPP)" $(ASLPP_FLAGS) $(INC) /I${s_path} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i > $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii
356 Trim --source-code -l -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iiii $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii
357 "$(ASL)" $(ASL_FLAGS) $(ASL_OUTFLAGS)${dst} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iiii
358
359 <Command.GCC>
360 Trim --asl-file -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i -i $(INC_LIST) ${src}
361 "$(ASLPP)" $(ASLPP_FLAGS) $(INC) -I${s_path} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i > $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii
362 "$(ASL)" $(ASL_FLAGS) $(ASL_OUTFLAGS)${dst} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii
363
364[C-Code-File.AcpiTable]
365 <InputFile>
366 ?.c
367
368 <OutputFile>
369 $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.acpi
370
371 <ExtraDependency>
372 $(MAKE_FILE)
373
374 <Command.MSFT, Command.INTEL>
375 "$(ASLCC)" /Fo$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj $(ASLCC_FLAGS) $(INC) ${src}
376 "$(ASLDLINK)" /OUT:$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(ASLDLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj
377 "$(GENFW)" -o ${dst} -c $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(GENFW_FLAGS)
378
379 <Command.GCC>
380 "$(ASLCC)" -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj $(CC_FLAGS) $(ASLCC_FLAGS) $(INC) ${src}
381 "$(ASLDLINK)" -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(ASLDLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj
382 "$(GENFW)" -o ${dst} -c $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(GENFW_FLAGS)
383
384[Acpi-Table-Code-File]
385 <InputFile>
386 ?.aslc, ?.act
387
388 <OutputFile>
389 $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.acpi
390
391 <ExtraDependency>
392 $(MAKE_FILE)
393
394 <Command.MSFT, Command.INTEL>
395 "$(ASLCC)" /Fo$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj $(ASLCC_FLAGS) $(INC) ${src}
396 "$(ASLDLINK)" /OUT:$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(ASLDLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj
397 "$(GENFW)" -o ${dst} -c $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(GENFW_FLAGS)
398
399 <Command.GCC>
400 "$(ASLCC)" -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj $(CC_FLAGS) $(ASLCC_FLAGS) $(INC) ${src}
401 "$(ASLDLINK)" -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(ASLDLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj
402 "$(GENFW)" -o ${dst} -c $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(GENFW_FLAGS)
403
404 <Command.XCODE>
405 "$(ASLCC)" -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj $(ASLCC_FLAGS) $(INC) ${src}
406 "$(ASLDLINK)" -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(ASLDLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj
407 "$(MTOC)" -subsystem $(MODULE_TYPE) $(MTOC_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.efi
408 "$(GENFW)" -o ${dst} -c $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.efi $(GENFW_FLAGS)
409
410
411[Masm16-Code-File]
412 <InputFile>
413 ?.asm16, ?.Asm16, ?.ASM16
414
415 <ExtraDependency>
416 $(MAKE_FILE)
417
418 <OutputFile>
419 $(OUTPUT_DIR)(+)${s_base}.com
420
421 <Command.MSFT, Command.INTEL>
422 "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i
423 Trim --source-code --convert-hex -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i
424 cd $(OUTPUT_DIR)(+)${s_dir}
425 "$(ASM16)" /nologo /c /omf $(INC) /Fo$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj ${d_path}(+)${s_base}.iii
426 "$(ASMLINK)" $(ASMLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj,${dst},,,,
427
428 <Command.GCC>
429 "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i
430 Trim --source-code -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i
431 "$(ASM)" -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj $(ASM_FLAGS) $(INC) ${d_path}(+)${s_base}.iii
432 "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -\( $(DLINK_SPATH) $(LIBS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj -\)
433
434 <Command.XCODE>
435 "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i
436 Trim --source-code -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i
437 "$(ASM)" -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj $(ASM_FLAGS) $(INC) ${d_path}(+)${s_base}.iii
438 "$(SLINK)" $(SLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.slib $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj
439 otool -t $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.slib | hex2bin.py ${dst}
440
441
442[Microcode-File.USER_DEFINED, Microcode-File.Microcode]
443 <InputFile>
444 ?.txt, ?.TXT, ?.Txt, ?.mut, ?.inc
445
446 <OutputFile>
447 $(OUTPUT_DIR)(+)${s_base}.mcb
448
449 <Command>
450 "$(GENFW)" -o ${dst} -m ${src} $(GENFW_FLAGS)
451
452[Microcode-Binary-File]
453 <InputFile>
454 *.mcb
455
456 <ExtraDependency>
457 $(MAKE_FILE)
458
459 <OutputFile>
460 $(OUTPUT_DIR)(+)$(MODULE_NAME).bin
461
462 <Command>
463 "$(GENFW)" -o ${dst} -j $(MICROCODE_BINARY_FILES) $(GENFW_FLAGS)
464 -$(CP) ${dst} $(BIN_DIR)
465
466[EFI-Image-File]
467 <InputFile>
468 ?.efi, ?.Efi, ?.EFI
469
470 <OutputFile>
471
472 <Command>
473
474[Unicode-Text-File]
475 <InputFile>
476 *.uni, *.Uni, *.UNI
477
478 <OutputFile>
479 $(DEBUG_DIR)(+)AutoGen.c
480 $(DEBUG_DIR)(+)$(MODULE_NAME)StrDefs.h
481 $(OUTPUT_DIR)(+)$(MODULE_NAME)StrDefs.hpk
482
483 <Command>
484
485[Efi-Image.UEFI_OPTIONROM]
486 <InputFile>
487 ?.efi, ?.EFI, ?.Efi
488
489 <OutputFile>
490 $(BIN_DIR)(+)$(MODULE_NAME).rom
491
492 <Command>
493 $(OPTROM) -i $(PCI_DEVICE_ID) -f $(PCI_VENDOR_ID) -l $(PCI_CLASS_CODE) -r $(PCI_REVISION) -o $dst $(OPTROM_FLAGS) $src
494
495[Unicode-Text-File.UEFI_HII]
496 <InputFile>
497 *.uni, *.Uni, *.UNI
498
499 <OutputFile>
500 $(OUTPUT_DIR)(+)$(MODULE_NAME)StrDefs.hpk
501 $(DEBUG_DIR)(+)$(MODULE_NAME)StrDefs.h
502
503 <Command>
504
505[Visual-Form-Representation-File.UEFI_HII]
506 <InputFile>
507 ?.vfr
508 ?.Vfr
509 ?.VFR
510
511 <ExtraDependency>
512 $(MAKE_FILE)
513
514 <OutputFile>
515 $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.hpk
516
517 <Command>
518 "$(VFRPP)" $(VFRPP_FLAGS) $(INC) ${src} > $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i
519 "$(VFR)" $(VFR_FLAGS) --create-ifr-package --string-db $(OUTPUT_DIR)(+)$(MODULE_NAME)StrDefs.hpk --output-directory $(OUTPUT_DIR)(+)${s_dir} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i
520
521[Hii-Binary-Package.UEFI_HII]
522 <InputFile>
523 *.hpk
524
525 <OutputFile.MSFT, OutputFile.INTEL, OutputFile.GCC>
526 $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.lib
527
528 <OutputFile.XCODE, OutputFile.RVCT, OutputFile.ARMGCC>
529 $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc
530
531 <Command.MSFT, Command.INTEL>
532 "$(GENFW)" -o $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc -g $(MODULE_GUID) --hiipackage $(HII_BINARY_PACKAGES) $(GENFW_FLAGS)
533 "$(RC)" /Fo${dst} $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc
534
535 <Command.GCC>
536 "$(GENFW)" -o $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc -g $(MODULE_GUID) --hiibinpackage $(HII_BINARY_PACKAGES) $(GENFW_FLAGS)
537 "$(RC)" $(RC_FLAGS) $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc ${dst}
538
539 <Command.XCODE, Command.RVCT, Command.ARMGCC, Command.ARMLINUXGCC>
540 GenFw -o $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc -g $(MODULE_GUID) --hiibinpackage $(HII_BINARY_PACKAGES)
541
542
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette