VirtualBox

source: vbox/trunk/src/VBox/Devices/PC/Etherboot-src/Config@ 21496

最後變更 在這個檔案從21496是 3429,由 vboxsync 提交於 17 年 前

use GCC32 template here instead of local hacks

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 19.6 KB
 
1#
2# Config for Etherboot/32
3#
4# Do not delete the tag OptionDescription and /OptionDescription
5# It is used to automatically generate the documentation.
6#
7# @OptionDescription@
8# User interaction options:
9#
10# -DASK_BOOT=n
11# Ask "Boot from (N)etwork ... or (Q)uit? "
12# at startup, timeout after n seconds (0 = no timeout).
13# If unset or negative, don't ask and boot immediately
14# using the default.
15# -DBOOT_FIRST
16# -DBOOT_SECOND
17# -DBOOT_THIRD
18# On timeout or Return key from previous
19# question, selects the order to try to boot from
20# various devices.
21# (alternatives: BOOT_NIC, BOOT_DISK,
22# BOOT_FLOPPY, BOOT_NOTHING)
23# See etherboot.h for prompt and answer strings.
24# BOOT_DISK and BOOT_FLOPPY work only where a driver
25# exists, e.g. in LinuxBIOS.
26# They have no effect on PCBIOS.
27# -DBOOT_INDEX The device to boot from 0 == any device.
28# 1 == The first nic found.
29# 2 == The second nic found
30# ...
31# BOOT_INDEX only applies to the BOOT_FIRST. BOOT_SECOND
32# and BOOT_THIRD search through all of the boot devices.
33# -DBAR_PROGRESS
34# Use rotating bar instead of sequential dots
35# to indicate an IP packet transmitted.
36#
37# Boot order options:
38#
39# -DBOOT_CLASS_FIRST
40# -DBOOT_CLASS_SECOND
41# -DBOOT_CLASS_THIRD
42# Select the priority of the boot classes
43# Valid values are:
44# BOOT_NIC
45# BOOT_DISK
46# BOOT_FLOPPY
47# BOOT_DISK and BOOT_FLOPPY work only where a driver exists,
48# e.g. in LinuxBIOS. They have no effect on PCBIOS.
49#
50# Boot autoconfiguration protocol options:
51#
52# -DALTERNATE_DHCP_PORTS_1067_1068
53# Use ports 1067 and 1068 for DHCP instead of 67 and 68.
54# As these ports are non-standard, you need to configure
55# your DHCP server to use them. This option gets around
56# existing DHCP servers which cannot be touched, for
57# one reason or another, at the cost of non-standard
58# boot images.
59# -DNO_DHCP_SUPPORT
60# Use BOOTP instead of DHCP.
61# -DRARP_NOT_BOOTP
62# Use RARP instead of BOOTP/DHCP.
63#
64# -DUSE_STATIC_BOOT_INFO
65# Use static ip insted of dynamic protocols
66# When USE_STATIC_BOOT_INFO is defined, the following
67# must also be defined:
68# -DSTATIC_CLIENT_IP
69# -DSTATIC_SUBNET_MASK
70# -DSTATIC_SERVER_IP
71# -DSTATIC_GATEWAY_IP
72# -DSTATIC_BOOTFILE
73#
74# -DSTATIC_CLIENT_IP=\"1.2.3.4\"
75# Static client IP address. Requires -DUSE_STATIC_BOOT_INFO
76# be set to be used.
77# -DSTATIC_SUBNET_MASK=\"255.255.255.0\"
78# Static subnet address. Requires -DUSE_STATIC_BOOT_INFO
79# be set to be used.
80# -DSTATIC_SERVER_IP=\"1.2.4.5\"
81# Static server IP address. Requires -DUSE_STATIC_BOOT_INFO
82# be set to be used.
83# -DSTATIC_GATEWAY_IP=\"1.2.3.254\"
84# Static gateway IP address. Requires -DUSE_STATIC_BOOT_INFO
85# be set to be used.
86# -DSTATIC_BOOTFILE=\"tftp://1.2.4.5/pxelinux.0\"
87# Static gateway IP address. Requires -DUSE_STATIC_BOOT_INFO
88# be set to be used.
89#
90# -DEXIT_ON_FILE_LOAD_ERROR
91# Exit Etherboot if unable to load the requested boot file
92#
93# -DREQUIRE_VCI_ETHERBOOT
94# Require an encapsulated Vendor Class Identifier
95# of "Etherboot" in the DHCP reply
96# Requires DHCP support.
97# -DDHCP_CLIENT_ID=\"Identifier\"
98# -DDHCP_CLIENT_ID_LEN=<Client ID length in octets>
99# -DDHCP_CLIENT_ID_TYPE=<Client ID type>
100# Specify a RFC2132 Client Identifier option, length and type.
101# Requires DHCP support.
102# -DDHCP_USER_CLASS=\"UserClass\"
103# -DDHCP_USER_CLASS_LEN=<User Class length in octets>
104# Specify a RFC3004 User Class option and length. Use this
105# option to set a UC (or multiple UCs) rather than munge the
106# client Vendor Class ID.
107# Requires DHCP support.
108# -DALLOW_ONLY_ENCAPSULATED
109# Ignore Etherboot-specific options that are not within
110# the Etherboot encapsulated options field. This option
111# should be enabled unless you have a legacy DHCP server
112# configuration from the bad old days before the use of
113# encapsulated Etherboot options.
114# -DDEFAULT_BOOTFILE=\"default_bootfile_name\"
115# Define a default bootfile for the case where your DHCP
116# server does not provide the information. Examples:
117# -DDEFAULT_BOOTFILE=\"tftp:///tftpboot/kernel.nbi\"
118# -DDEFAULT_BOOTFILE=\"tftp://1.2.4.5/lts/pxelinux.0\"
119# If you do not specify this option, then DHCP offers that
120# do not specify bootfiles will be ignored.
121#
122# NIC tuning parameters:
123#
124# -DALLMULTI
125# Turns on multicast reception in the NICs.
126#
127# Boot tuning parameters:
128#
129# -DCONGESTED
130# Turns on packet retransmission. Use it on a
131# congested network, where the normal operation
132# can't boot the image.
133# -DBACKOFF_LIMIT
134# Sets the maximum RFC951 backoff exponent to n.
135# Do not set this unreasonably low, because on networks
136# with many machines they can saturate the link
137# (the delay corresponding to the exponent is a random
138# time in the range 0..3.5*2^n seconds). Use 5 for a
139# VERY small network (max. 2 minutes delay), 7 for a
140# medium sized network (max. 7.5 minutes delay) or 10
141# for a really huge network with many clients, frequent
142# congestions (max. 1 hour delay). On average the
143# delay time will be half the maximum value. If in
144# doubt about the consequences, use a larger value.
145# Also keep in mind that the number of retransmissions
146# is not changed by this setting, so the default of 20
147# may no longer be appropriate. You might need to set
148# MAX_ARP_RETRIES, MAX_BOOTP_RETRIES, MAX_TFTP_RETRIES
149# and MAX_RPC_RETRIES to a larger value.
150# -DTIMEOUT=n
151# Use with care!! See above.
152# Sets the base of RFC2131 sleep interval to n.
153# This can be used with -DBACKOFF_LIMIT=0 to get a small
154# and constant (predictable) retry interval for embedded
155# devices. This is to achieve short boot delays if both
156# the DHCP Server and the embedded device will be powered
157# on the same time. Otherwise if the DHCP server is ready
158# the client could sleep the next exponentially timeout,
159# e.g. 70 seconds or more. This is not what you want.
160# n should be a multiple of TICKS_PER_SEC (18).
161#
162# Boot device options:
163#
164# -DTRY_FLOPPY_FIRST
165# If > 0, tries that many times to read the boot
166# sector from a floppy drive before booting from
167# ROM. If successful, does a local boot.
168# It assumes the floppy is bootable.
169# -DEXIT_IF_NO_OFFER
170# If no IP offer is obtained, exit and
171# let the BIOS continue.
172# The accessibility of the TFTP server has no effect,
173# so configure your DHCP/BOOTP server properly.
174# You should probably reduce MAX_BOOTP_RETRIES
175# to a small number like 3.
176#
177# Boot image options:
178#
179# -DTAGGED_IMAGE
180# Add tagged image kernel boot support (recommended).
181# -DAOUT_IMAGE
182# Add a.out kernel boot support (generic).
183# -DELF_IMAGE
184# Add generic ELF kernel boot support (recommended).
185# -DEL64F_IMAGE
186# Add generic ELF64 kernel boot support (useful for > 4GB disks).
187# -DWINCE_IMAGE
188# Add the ability to boot WINCE.... now only sis630 OK!
189# -DPXE_IMAGE
190# Add the ability to boot PXE NBPs. Requires
191# PXE_EXPORT. Currently not supported on
192# anything other than i386
193# -DFREEBSD_PXEEMU
194# Add the ability to boot PXE images... only FreeBSD supported
195# -DIMAGE_MULTIBOOT
196# Add Multiboot image support (currently only
197# for ELF images).
198# Without this, generic ELF support is selected.
199# -DIMAGE_FREEBSD
200# Add FreeBSD image loading support (requires at least
201# -DAOUT_IMAGE and/or -DELF_IMAGE).
202# -DFREEBSD_KERNEL_ENV
203# Pass in FreeBSD kernel environment
204# -DAOUT_LYNX_KDI
205# Add Lynx a.out KDI support
206# -DMULTICAST_LEVEL1
207# Support for sending multicast packets
208# -DMULTICAST_LEVEL2
209# Support for receiving multicast packets
210# -DDNS_RESOLVER
211# Support for resolving hostnames in bootfile name (experimental)
212# -DDOWNLOAD_PROTO_TFTP
213# If defined, includes TFTP support (recommended).
214# TFTP support is required if PXE support is selected.
215# -DDOWNLOAD_PROTO_NFS
216# If defined, includes NFS support.
217# -DDEFAULT_PROTO_NFS
218# If defined, makes NFS the default protocol instead
219# of TFTP. Requires DOWNLOAD_PROTO_NFS.
220# -DDOWNLOAD_PROTO_SLAM
221# If defined, includes Scalable Local Area Multicast
222# support.
223# -DDOWNLOAD_PROTO_TFTM
224# If defined, includes TFTP Multicast mode support.
225# -DDOWNLOAD_PROTO_HTTP
226# If defined, includes HTTP support.
227#
228# Console options:
229#
230# -DCONSOLE_FIRMWARE
231# Set for firmware/BIOS provided (default if nothing else is set).
232# Normally this is shows up on your CRT.
233# -DCONSOLE_SERIAL
234# Set for serial console.
235# -DCONSOLE_DUAL
236# Both of the above
237# -DCONSOLE_DIRECT_VGA
238# Set for direct VGA console (only for x86).
239# -DCOMCONSOLE
240# Set port, e.g. 0x3F8.
241# -DCONSPEED
242# Set speed, e.g. 57600.
243# -DCOMPARM
244# Set Line Control Register value for data bits, stop
245# bits and parity. See a National Semiconditor 8250/
246# 16450/16550 data sheet for bit meanings.
247# If undefined, defaults to 0x03 = 8N1.
248# -DCOMPRESERVE
249# Ignore COMSPEED and COMPARAM and instead preserve
250# the com port parameters from the previous user
251# of the com port. Examples of previous user are a BIOS
252# that implements console redirection, lilo and LinuxBIOS.
253# This makes it trivial to keep the serial port
254# speed setting in sync between multiple users.
255# You set the speed in the first user and the
256# rest follow along.
257#
258# Interface export options:
259#
260# -DPXE_EXPORT
261# Export a PXE API interface. This is work in
262# progress. Note that you won't be able to load
263# PXE NBPs unless you also use -DPXE_IMAGE.
264# -DPXE_STRICT
265# Strict(er) compliance with the PXE
266# specification as published by Intel. This may
267# or may not be a good thing depending on your
268# view of the spec...
269# -DPXE_DHCP_STRICT
270# Strict compliance of the DHCP request packets
271# with the PXE specification as published by
272# Intel. This may or may not be a good thing
273# depending on your view of whether requesting
274# vendor options which don't actually exist is
275# pointless or not. You probably want this
276# option if you intend to use Windows RIS or
277# similar.
278#
279# Obscure options you probably don't need to touch:
280#
281# -DZPXE_SUFFIX_STRIP
282# If the last 5 characters of the filename passed to Etherboot is
283# ".zpxe" then strip it off. This is useful in cases where a DHCP server
284# is not able to be configured to support conditionals. The way it works
285# is that the DHCP server is configured with a filename like
286# "foo.nbi.zpxe" so that when PXE asks for a filename it gets that, and
287# loads Etherboot from that file. Etherboot then starts up and once
288# again asks the DHCP server for a filename and once again gets
289# foo.nbi.zpxe, but with this option turned on loads "foo.nbi" instead.
290# This allows people to use Etherboot who might not otherwise be able to
291# because their DHCP servers won't let them.
292#
293# -DPOWERSAVE
294# Halt the processor when waiting for keyboard input
295# which saves power while waiting for user interaction.
296# Good for compute clusters and VMware emulation.
297# But may not work for all CPUs.
298# -DBUILD_SERIAL
299# Include an auto-incrementing build number in
300# the Etherboot welcome message. Useful when
301# developing, to be sure that the file you
302# compiled is the one you're currently testing.
303# -DBUILD_ID
304# Include a build ID string in the Etherboot
305# welcome message. Useful when developing, if
306# you have multiple builds with different
307# configurations and want to check you're
308# running the one you think you are. Requires
309# -DBUILD_SERIAL.
310#
311# BUS options:
312#
313# -DCONFIG_PCI
314# Include support for devices using the pci bus.
315# -DCONFIG_ISA
316# Include support for devices using isa bus.
317# -DCONFIG_PCMCIA
318# Include support for PCMCIA in general *development*
319# @/OptionDescription@
320
321# These default settings compile Etherboot with a small number of options.
322# You may wish to enable more of the features if the size of your ROM allows.
323
324
325ifeq ($(ENVIRONMENT),VBOX)
326EB_CFLAGS+= -DCONFIG_PCI
327EB_CFLAGS+= -DALLOW_ONLY_ENCAPSULATED
328EB_CFLAGS+= -DBACKOFF_LIMIT=7 -DCONGESTED
329EB_CFLAGS+= -DEXIT_IF_NO_OFFER -DMAX_BOOTP_RETRIES=6
330EB_CFLAGS+= -DDOWNLOAD_PROTO_TFTP
331EB_CFLAGS+= -DPXE_IMAGE -DPXE_EXPORT
332EB_CFLAGS+= -DPXE_DHCP_STRICT
333EB_CFLAGS+= -DPOWERSAVE
334
335# Enable VBOX changes in the sources
336EB_CFLAGS+= -DVBOX
337
338# Enable debug output in the PXE code
339# EB_CFLAGS+= -DTRACE_PXE -DVBOX_LOG_TO_BACKDOOR -DVBOX_BACKDOOR_ONLY
340# EB_CFLAGS+= -DVBOX_DEBUG_PXE_EP
341
342else # !VBOX
343# Select which buses etherboot should support
344CFLAGS+= -DCONFIG_PCI -DCONFIG_ISA
345# CFLAGS+= -DCONFIG_PCMCIA
346
347# For prompting and default on timeout
348CFLAGS+= -DASK_BOOT=3 -DBOOT_FIRST=BOOT_NIC
349# If you would like to attempt to boot from other devices as well as the network.
350# CFLAGS+= -DBOOT_SECOND=BOOT_FLOPPY
351# CFLAGS+= -DBOOT_THIRD=BOOT_DISK
352# CFLAGS+= -DBOOT_INDEX=0
353
354# If you prefer the old style rotating bar progress display
355# CFLAGS+= -DBAR_PROGRESS
356
357# Show size indicator
358# CFLAGS+= -DSIZEINDICATOR
359
360# Enabling this creates non-standard images which use ports 1067 and 1068
361# for DHCP/BOOTP
362# CFLAGS+= -DALTERNATE_DHCP_PORTS_1067_1068
363
364# Enabling this makes the boot ROM require a Vendor Class Identifier
365# of "Etherboot" in the Vendor Encapsulated Options
366# This can be used to reject replies from servers other than the one
367# we want to give out addresses to us, but it will prevent Etherboot
368# from getting an IP lease until you have configured DHCPD correctly
369# CFLAGS+= -DREQUIRE_VCI_ETHERBOOT
370
371# EXPERIMENTAL! Set DHCP_CLIENT_ID to create a Client Identifier (DHCP
372# option 61, see RFC2132 section 9.14) when Etherboot sends the DHCP
373# DISCOVER and REQUEST packets. This ID must UNIQUELY identify each
374# client on your local network. Set DHCP_CLIENT_ID_TYPE to the
375# appropriate hardware type as described in RFC2132 / RFC1700; this
376# almost certainly means using '1' if the Client ID is an Ethernet MAC
377# address and '0' otherwise. Set DHCP_CLIENT_ID_LEN to the length of
378# the Client ID in octets (this is not a null terminated C string, do
379# NOT add 1 for a terminator and do NOT add an extra 1 for the
380# hardware type octet). Note that to identify your client using the
381# normal default MAC address of your NIC, you do NOT need to set this
382# option, as the MAC address is automatically used in the
383# hwtype/chaddr field; note also that this field only sets the DHCP
384# option: it does NOT change the MAC address used by the client.
385
386# CFLAGS+= -DDHCP_CLIENT_ID="'C','L','I','E','N','T','0','0','1'" \
387# -DDHCP_CLIENT_ID_LEN=9 -DDHCP_CLIENT_ID_TYPE=0
388
389# CFLAGS+= -DDHCP_CLIENT_ID="0xDE,0xAD,0xBE,0xEF,0xDE,0xAD" \
390# -DDHCP_CLIENT_ID_LEN=6 -DDHCP_CLIENT_ID_TYPE=1
391
392# EXPERIMENTAL! Set DHCP_USER_CLASS to create a User Class option (see
393# RFC3004) when Etherboot sends the DHCP DISCOVER and REQUEST packets.
394# This can be used for classification of clients, typically so that a
395# DHCP server can send an appropriately tailored reply. Normally, a
396# string identifies a class of to which this client instance belongs
397# which is useful in your network, such as a department ('FINANCE' or
398# 'MARKETING') or hardware type ('THINCLIENT' or 'KIOSK'). Set
399# DHCP_USER_CLASS_LEN to the length of DHCP_USER_CLASS in octets.
400# This is NOT a null terminated C string, do NOT add 1 for a
401# terminator. RFC3004 advises how to lay out multiple User Class
402# options by using an octet for the length of each string, as in this
403# example. It is, of course, up to the server to parse this.
404
405# CFLAGS+= -DDHCP_USER_CLASS="'T','E','S','T','C','L','A','S','S'" \
406# -DDHCP_USER_CLASS_LEN=9
407
408# CFLAGS+= -DDHCP_USER_CLASS="5,'A','L','P','H','A',4,'B','E','T','A'" \
409# -DDHCP_USER_CLASS_LEN=11
410
411# for btext console support
412# CFLAGS+= -DCONSOLE_BTEXT
413# for direct PC kbd support
414# CFLAGS+= -DCONSOLE_PC_KBD
415# Set to enable FILO support
416# for FILO support it will make main call pci_init
417# INCLUDE_FILO=y
418ifdef INCLUDE_FILO
419CFLAGS+= -DCONFIG_FILO
420endif
421
422# Enabling this causes Etherboot to ignore Etherboot-specific options
423# that are not within an Etherboot encapsulated options field.
424# This option should be enabled unless you have a legacy DHCP server
425# configuration from the bad old days before the use of
426# encapsulated Etherboot options.
427CFLAGS+= -DALLOW_ONLY_ENCAPSULATED
428
429# Disable DHCP support
430# CFLAGS+= -DNO_DHCP_SUPPORT
431
432# Set to enable static boot information
433# CFLAGS+= -DUSE_STATIC_BOOT_INFO
434
435# Specify the static boot values
436# All must be specified, if -DUSE_STATIC_BOOT_INFO is defined
437# CFLAGS+= -DSTATIC_CLIENT_IP=\"192.168.25.25\"
438# CFLAGS+= -DSTATIC_SUBNET_MASK=\"255.255.255.0\"
439# CFLAGS+= -DSTATIC_SERVER_IP=\"192.168.25.101\"
440# CFLAGS+= -DSTATIC_GATEWAY_IP=\"192.168.25.1\"
441# CFLAGS+= -DSTATIC_BOOTFILE=\"tftp://192.168.25.101/pxelinux.0\"
442
443# Specify a default bootfile to be used if the DHCP server does not
444# provide the information. If you do not specify this option, then
445# DHCP offers that do not contain bootfiles will be ignored.
446# CFLAGS+= -DDEFAULT_BOOTFILE=\"tftp://192.168.1.254/lts/pxelinux.0\"
447
448# Exit if there is an error loading the boot file
449# CFLAGS+= -DEXIT_ON_FILE_LOAD_ERROR
450
451# Limit the delay on packet loss/congestion to a more bearable value. See
452# description above. If unset, do not limit the delay between resend.
453CFLAGS+= -DBACKOFF_LIMIT=7 -DCONGESTED
454
455# More optional features
456# CFLAGS+= -DTRY_FLOPPY_FIRST=4
457# CFLAGS+= -DEXIT_IF_NO_OFFER
458
459# For a serial console, which can run in parallel with FIRMWARE console
460# CFLAGS+= -DCONSOLE_DUAL -DCOMCONSOLE=0x3F8 -DCONSPEED=9600
461
462# Enable tagged image, generic ELF, Multiboot ELF
463# or FreeBSD ELF/a.out boot image support
464CFLAGS+= -DTAGGED_IMAGE -DELF_IMAGE
465# CFLAGS+= -DAOUT_IMAGE -DIMAGE_MULTIBOOT -DIMAGE_FREEBSD
466# CFLAGS+= -DAOUT_IMAGE -DAOUT_LYNX_KDI
467# CFLAGS+= -DCOFF_IMAGE
468# CFLAGS+= -DRAW_IMAGE
469
470# Download files via TFTP
471CFLAGS+= -DDOWNLOAD_PROTO_TFTP
472# FSP support
473# CFLAGS+= -DDOWNLOAD_PROTO_FSP -DDEFAULT_PROTO_FSP
474# Change download protocol to NFS, default is TFTP
475# CFLAGS+= -DDOWNLOAD_PROTO_NFS
476# Change download protocol to HTTP, default is TFTP
477# CFLAGS+= -DDOWNLOAD_PROTO_HTTP
478# Change default protocol to NFS
479# CFLAGS+= -DDEFAULT_PROTO_NFS
480# Support to resolve hostnames in boot filename
481# CFLAGS+= -DDNS_RESOLVER
482
483# Multicast Support
484# CFLAGS+= -DALLMULTI -DMULTICAST_LEVEL1 -DMULTICAST_LEVEL2 -DDOWNLOAD_PROTO_TFTM
485
486# Etherboot as a PXE network protocol ROM
487# (Requires TFTP protocol support)
488CFLAGS+= -DPXE_IMAGE -DPXE_EXPORT
489# Etherboot stricter as a PXE network protocol ROM
490# CFLAGS+= -DPXE_DHCP_STRICT
491
492# Support for PXE emulation. Works only with FreeBSD to load the kernel
493# via pxeboot, use only with DOWNLOAD_PROTO_NFS
494# CFLAGS+= -DFREEBSD_PXEEMU
495
496# Include an auto-incrementing build serial number and optional build
497# ID string
498# CFLAGS+= -DBUILD_SERIAL
499# CFLAGS+= -DBUILD_SERIAL -DBUILD_ID=\"testing\"
500
501# Do not relocate
502# core/relocate.c should really be moved to an arch specific directory
503# but this is here for archs that don't support relocation
504# CFLAGS+= -DNORELOCATE
505endif # !VBOX
506
507# you should normally not need to change these
508ifeq ($(ENVIRONMENT),VBOX)
509PERL= /usr/bin/perl
510ifneq ($(BUILD_PLATFORM),win32)
511EB_CC= $(TOOL_$(VBOX_GCC32_TOOL)_CC)
512EB_LD= $(TOOL_$(VBOX_GCC32_TOOL)_LD_SYSMOD)
513EB_AR= ar
514EB_RANLIB= ranlib
515EB_OBJCOPY= objcopy
516else
517EB_CC= $(PATH_DEV)/x86.win32/mingw32/v3.3.3/bin/gcc.exe
518EB_LD= $(PATH_DEV)/x86.win32/mingw32/v3.3.3/bin/ld.exe
519EB_AR= $(PATH_DEV)/x86.win32/mingw32/v3.3.3/bin/ar.exe
520EB_RANLIB= $(PATH_DEV)/x86.win32/mingw32/v3.3.3/bin/ranlib.exe
521EB_OBJCOPY= $(PATH_DEV)/x86.win32/mingw32/v3.3.3/bin/objcopy.exe
522endif
523
524EB_CFLAGS+= -Os -ffreestanding
525EB_CFLAGS+= $(VBOX_GCC_fno-stack-protector)
526EB_CFLAGS+= -Wall -W -Wno-format
527EB_CFLAGS+= $(EXTRA_CFLAGS)
528EB_LDFLAGS+= $(EXTRA_LDFLAGS)
529
530# Location to place generated binaries, and files
531BIN=$(PATH_TARGET)
532else # !VBOX
533HOST_CC= gcc
534CPP= gcc -E -Wp,-Wall
535RM= rm -f
536TOUCH= touch
537PERL= /usr/bin/perl
538CC= gcc
539AS= as
540LD= ld
541SIZE= size
542AR= ar
543RANLIB= ranlib
544OBJCOPY= objcopy
545
546CFLAGS+= -Os -ffreestanding
547CFLAGS+= -Wall -W -Wno-format
548CFLAGS+= $(EXTRA_CFLAGS)
549ASFLAGS+= $(EXTRA_ASFLAGS)
550LDFLAGS+= $(EXTRA_LDFLAGS)
551# For debugging
552# LDFLAGS+= -Map [email protected]
553
554# Location to place generated binaries, and files
555BIN=bin
556endif # !VBOX
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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