Date: Thu, 27 Mar 1997 11:14:12 +1100 From: Bruce Evans <bde@zeta.org.au> To: ache@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.sbin/config config.h config.y mkioconf.c Message-ID: <199703270014.LAA31897@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> Modified: usr.sbin/config config.h config.y mkioconf.c > Log: > Add #define's for port "none" and "auto" > Now port ommiting is equal to port "none" not to port 0 Can we remove the half-baked support for "auto" and "none" instead of fixing it to apply to all primary keywords? It came in undocumented with the following log message: ---------------------------- revision 1.8 date: 1995/12/11 10:52:24; author: peter; state: Exp; lines: +8 -0 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. ---------------------------- In case it isn't obvious from the log message ;-), the changes to lang.l in rev.1.8 were to support escaping of quotes and to add "auto" and "none". Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703270014.LAA31897>