freebsd-dev/usr.sbin/config
Peter Wemm 6d41b96fd7 Implement support for conf/options and i386/conf/options.i386
Note that this code is dormant unless the options files exist.
Also, parsing of quoted options in the config files is improved.

What this allows, is all the options in LINT to be specified to be
configured as #defines in a file rather than on the CC command line at
kernel build time.  This means that 'make depend' will catch dependencies
on actual *options*, meaning that you can run 'config' and 'make depend'
in complete safety WITHOUT removing the compile directory each time.

Unfortunately, this requires a pass over the source to get the individual
files to #include the new .h files that would be generated by config.
This has a small compile time penalty (appears up to about 2% slower)
from a "fresh" build.  Of course, you should not be needing to do complete
rebuilds very often once this was completed, so it would be an overall
win for most people.

Since this code is dormant and we've got a lot of other things happening
on the kernel tree at the moment (prototypes, devfs, static declarations
etc) I am not planning on doing any changes to activate this feature just
yet.
1995-12-11 10:52:34 +00:00
..
SMM.doc
config.8
config.h Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
config.y Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
lang.l Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
main.c Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
Makefile Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
mkglue.c
mkheaders.c Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
mkioconf.c
mkmakefile.c Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
mkoptions.c Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
mkswapconf.c Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
mkubglue.c