mirror of
https://github.com/ipxe/ipxe
synced 2026-02-11 05:38:16 +03:00
Merged mcb30-realmode-redesign back to HEAD
This commit is contained in:
151
src/Config
151
src/Config
@@ -424,27 +424,134 @@ CFLAGS+= -DPXE_IMAGE -DPXE_EXPORT
|
||||
# but this is here for archs that don't support relocation
|
||||
# CFLAGS+= -DNORELOCATE
|
||||
|
||||
# you should normally not need to change these
|
||||
HOST_CC= gcc
|
||||
CPP= gcc -E -Wp,-Wall
|
||||
RM= rm -f
|
||||
TOUCH= touch
|
||||
PERL= /usr/bin/perl
|
||||
CC= gcc
|
||||
AS= as
|
||||
LD= ld
|
||||
SIZE= size
|
||||
AR= ar
|
||||
RANLIB= ranlib
|
||||
OBJCOPY= objcopy
|
||||
|
||||
CFLAGS+= -Os -ffreestanding
|
||||
CFLAGS+= -Wall -W -Wno-format
|
||||
CFLAGS+= $(EXTRA_CFLAGS)
|
||||
ASFLAGS+= $(EXTRA_ASFLAGS)
|
||||
LDFLAGS+= $(EXTRA_LDFLAGS)
|
||||
# For debugging
|
||||
# LDFLAGS+= -Map $@.map
|
||||
|
||||
# Location to place generated binaries, and files
|
||||
BIN=bin
|
||||
|
||||
# Garbage from Makefile.main temporarily placed here until a home can
|
||||
# be found for it.
|
||||
|
||||
# NS8390 options:
|
||||
# -DINCLUDE_NE - Include NE1000/NE2000 support
|
||||
# -DNE_SCAN=list - Probe for NE base address using list of
|
||||
# comma separated hex addresses
|
||||
# -DINCLUDE_3C503 - Include 3c503 support
|
||||
# -DT503_SHMEM - Use 3c503 shared memory mode (off by default)
|
||||
# -DINCLUDE_WD - Include Western Digital/SMC support
|
||||
# -DWD_DEFAULT_MEM- Default memory location for WD/SMC cards
|
||||
# -DWD_790_PIO - Read/write to WD/SMC 790 cards in PIO mode (default
|
||||
# is to use shared memory) Try this if you get "Bogus
|
||||
# packet, ignoring" messages, common on ISA/PCI hybrid
|
||||
# systems.
|
||||
# -DCOMPEX_RL2000_FIX
|
||||
#
|
||||
# If you have a Compex RL2000 PCI 32-bit (11F6:1401),
|
||||
# and the bootrom hangs in "Probing...[NE*000/PCI]",
|
||||
# try enabling this fix... it worked for me :).
|
||||
# In the first packet write somehow it somehow doesn't
|
||||
# get back the expected data so it is stuck in a loop.
|
||||
# I didn't bother to investigate what or why because it works
|
||||
# when I interrupt the loop if it takes more then COMPEX_RL2000_TRIES.
|
||||
# The code will notify if it does a abort.
|
||||
# SomniOne - somnione@gmx.net
|
||||
#
|
||||
# 3C509 option:
|
||||
# -DINCLUDE_3C509 - Include 3c509 support
|
||||
#
|
||||
# 3C90X options:
|
||||
# -DINCLUDE_3C90X - Include 3c90x support
|
||||
#
|
||||
# Warning Warning Warning
|
||||
# If you use any of the XCVR options below, please do not complain about
|
||||
# the behaviour with Linux drivers to the kernel developers. You are
|
||||
# on your own if you do this. Please read 3c90x.txt to understand
|
||||
# what they do. If you don't understand them, ask for help on the
|
||||
# Etherboot mailing list. And please document what you did to the NIC
|
||||
# on the NIC so that people after you won't get nasty surprises.
|
||||
#
|
||||
# -DCFG_3C90X_PRESERVE_XCVR - Reset the transceiver type to the value it
|
||||
# had initially just before the loaded code is started.
|
||||
# -DCFG_3C90X_XCVR - Hardcode the tranceiver type Etherboot uses.
|
||||
# -DCFG_3C90X_BOOTROM_FIX - If you have a 3c905B with buggy ROM
|
||||
# interface, setting this option might "fix" it. Use
|
||||
# with caution and read the docs in 3c90x.txt!
|
||||
#
|
||||
# See the documentation file 3c90x.txt for more details.
|
||||
#
|
||||
# CS89X0 (optional) options:
|
||||
# -DINCLUDE_CS89X0- Include CS89x0 support
|
||||
# -DCS_SCAN=list - Probe for CS89x0 base address using list of
|
||||
# comma separated hex addresses; increasing the
|
||||
# address by one (0x300 -> 0x301) will force a
|
||||
# more aggressive probing algorithm. This might
|
||||
# be neccessary after a soft-reset of the NIC.
|
||||
#
|
||||
# LANCE options:
|
||||
# -DINCLUDE_NE2100- Include NE2100 support
|
||||
# -DINCLUDE_NI6510- Include NI6510 support
|
||||
#
|
||||
# SK_G16 options:
|
||||
# -DINCLUDE_SK_G16- Include SK_G16 support
|
||||
#
|
||||
# I82586 options:
|
||||
# -DINCLUDE_3C507 - Include 3c507 support
|
||||
# -DINCLUDE_NI5210- Include NI5210 support
|
||||
# -DINCLUDE_EXOS205-Include EXOS205 support
|
||||
#
|
||||
# SMC9000 options:
|
||||
# -DINCLUDE_SMC9000 - Include SMC9000 driver
|
||||
# -DSMC9000_SCAN=list - List of I/O addresses to probe
|
||||
#
|
||||
# TIARA (Fujitsu Etherstar) options:
|
||||
# -DINCLUDE_TIARA - Include Tiara support
|
||||
#
|
||||
# NI5010 options:
|
||||
# -DINCLUDE_NI5010 - Include NI5010 support
|
||||
#
|
||||
# TULIP options:
|
||||
# -DINCLUDE_TULIP - Include Tulip support
|
||||
#
|
||||
# RTL8139 options:
|
||||
# -DINCLUDE_RTL8139 - Include RTL8139 support
|
||||
#
|
||||
# SIS900 options:
|
||||
# -DINCLUDE_SIS900 - Include SIS900 support
|
||||
#
|
||||
# NATSEMI options:
|
||||
# -DINCLUDE_NATSEMI - Include NATSEMI support
|
||||
#
|
||||
|
||||
CFLAGS_3c503 = -DINCLUDE_3C503 # -DT503_SHMEM
|
||||
MAKEROM_FLAGS_3c503= -3
|
||||
CFLAGS_3c507 = -DINCLUDE_3C507
|
||||
CFLAGS_3c509 = -DINCLUDE_3C509
|
||||
CFLAGS_3c529 = -DINCLUDE_3C529
|
||||
CFLAGS_3c595 = -DINCLUDE_3C595
|
||||
CFLAGS_3c90x = -DINCLUDE_3C90X
|
||||
CFLAGS_cs89x0 = -DINCLUDE_CS89X0
|
||||
CFLAGS_eepro = -DINCLUDE_EEPRO
|
||||
CFLAGS_eepro100 = -DINCLUDE_EEPRO100
|
||||
CFLAGS_e1000 = -DINCLUDE_E1000
|
||||
CFLAGS_epic100 = -DINCLUDE_EPIC100
|
||||
CFLAGS_exos205 = -DINCLUDE_EXOS205
|
||||
CFLAGS_lance = -DINCLUDE_LANCE # Lance/PCI!
|
||||
CFLAGS_ne2100 = -DINCLUDE_NE2100
|
||||
CFLAGS_ne = -DINCLUDE_NE -DNE_SCAN=0x300,0x280,0x320,0x340,0x380
|
||||
CFLAGS_ns8390 = -DINCLUDE_NS8390 # NE2000/PCI!
|
||||
CFLAGS_ni5010 = -DINCLUDE_NI5010
|
||||
CFLAGS_ni5210 = -DINCLUDE_NI5210
|
||||
CFLAGS_ni6510 = -DINCLUDE_NI6510
|
||||
CFLAGS_rtl8139 = -DINCLUDE_RTL8139
|
||||
CFLAGS_sk_g16 = -DINCLUDE_SK_G16
|
||||
CFLAGS_sis900 = -DINCLUDE_SIS900
|
||||
CFLAGS_natsemi = -DINCLUDE_NATSEMI
|
||||
CFLAGS_smc9000 = -DINCLUDE_SMC9000
|
||||
CFLAGS_sundance = -DINCLUDE_SUNDANCE
|
||||
CFLAGS_tlan = -DINCLUDE_TLAN
|
||||
CFLAGS_tiara = -DINCLUDE_TIARA
|
||||
CFLAGS_depca = -DINCLUDE_DEPCA
|
||||
# CFLAGS_depca += -DDEPCA_MODEL=DEPCA -DDEPCA_RAM_BASE=0xd0000
|
||||
CFLAGS_tulip = -DINCLUDE_TULIP
|
||||
CFLAGS_otulip = -DINCLUDE_OTULIP
|
||||
CFLAGS_via_rhine = -DINCLUDE_VIA_RHINE
|
||||
CFLAGS_wd = -DINCLUDE_WD -DWD_DEFAULT_MEM=0xCC000
|
||||
CFLAGS_w89c840 = -DINCLUDE_W89C840
|
||||
|
||||
Reference in New Issue
Block a user