Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD master CVS tree commits
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.
Home |
Main Index |
Thread Index |
Old Index