Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 01/12/1998 07:40:02
thorpej
Sun Jan 11 23:37:47 PST 1998
Update of /cvsroot/src/usr.sbin/config
In directory netbsd1:/var/slash-tmp/cvs-serv23168

Modified Files:
	config.h gram.y main.c mkheaders.c mkioconf.c scan.l sem.c 
	sem.h 
Log Message:
Add code to emit the cfdriver structures into ioconf.c.  This requires
a change to the config grammar, to specify a device's class (i.e. DV_xxx)
like:

device	sd class disk: ...

Also emit an ioconf.h, which contains extern declarations of the
cfdriver structures.

While I'm here, add support for specifying multiple options per defopt
line, as well as specifying the file name in which the options will
appear.

defopt	foo bar baz

generates "opt_foo.h", "opt_bar.h", and "opt_baz.h"

defopt	opt_mumble.h foo bar baz

generates "opt_mumble.h" which contains all three options.

Also, clean up and fix some bugs in the code that generates header files.