Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 1996 20:07:37 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        freebsd-hackers@freebsd.org
Subject:   config
Message-ID:  <199606140307.UAA01509@bubba.whistle.com>

next in thread | raw e-mail | index | archive | help

Stupid question (re -current):

When you add an option to your kernel config file that's not listed
in i386/conf/options.i386, like IPFIREWALL for example, you should
see "-DIPFIREWALL" on all the compilation command lines when you
do a make, right?

Then I think the latest changes to the "config" program have broken it
because this isn't happening for some of my targets.

For example, given the config file TEST included below, config generates
this seemingly sparse makefile definition:

  IDENT= -DI386_CPU -DI486_CPU -DI586_CPU -DCOMPAT_43 -DDEVFS -DMSDOSFS \
	  -DFFS -DINET

Is this right??

Thanks,
-Archie

___________________________________________________________________________
Archie L. Cobbs, archie@whistle.com  *  Whistle Communications Corporation

###
### kernel configuration
###

ident		TEST
maxusers	10

machine		"i386"

### Hardware peculiarities

cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
#cpu		"I686_CPU"		# aka Pentium Pro(tm)

options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		"AUTO_EOI_1"
#options	"AUTO_EOI_2"

### Debugging stuff

options		DDB
options		COMCONSOLE		#console on serial port!
options		BREAK_TO_DEBUGGER	#a BREAK on a comconsole goes to 
options		KTRACE			#kernel tracing

### IP stuff

options		INET			#InterNETworking
options		MROUTING		#Multicast routing
options		IPFIREWALL		#firewall
#options	IPFIREWALL_VERBOSE	#print information about

### IPX stuff

#options	IPX			#IPX/SPX communications protocols
#options	IPXIP			#IPX in IP encapsulation (not available)
#options	IPTUNNEL		#IP in IPX encapsulation (not available)
#options	IPXPRINTFS=0		#IPX/SPX Console Debugging Information
#options	IPX_ERRPRINTFS=0	#IPX/SPX Console Debugging Information

### Filesystems

options		FFS			#Berkeley Fast Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		PROCFS			#Process filesystem
options		DEVFS			#devices filesystem

### Sys-V messaging

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

### Misc

options		UCONSOLE		#Allow users to grab the console
#options	FAILSAFE
options		QUOTA			#enable disk quotas
options		"COMPAT_43"		#Compatible with BSD 4.3

##########################  Drivers  ###############################

### Basic hardware stuff

config		kernel	root on wd0 

controller	isa0
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

### Console

device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
options		"PCVT_FREEBSD=210"
options		FAT_CURSOR		# start with block cursor

### Floppy (eventually to go away)

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
#disk		fd1	at fdc0 drive 1

### IDE hard disk XXX we should add the appropriate "flags" -- see LINT

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 1

### Serial ports (3)

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr

### Ethernet: NE2000 compatible cards

device		ed1	at isa? port 0x300 net irq 9 iomem 0xd8000 vector edintr
device		ed0	at isa? port 0x320 net irq 10 iomem 0xe0000 vector edintr

### Pseudo-devices that don't correspond to hardware

pseudo-device	pty		16
pseudo-device	tun		4
pseudo-device	bpfilter	16

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	gzip
pseudo-device	speaker		#Play IBM BASIC-style noises out your speaker




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606140307.UAA01509>