Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 1995 02:52:40 -0800 (PST)
From:      Peter Wemm <peter>
To:        CVS-committers, cvs-usrsbin
Subject:   cvs commit: src/usr.sbin/config mkoptions.c Makefile config.h config.y lang.l main.c mkheaders.c mkmakefile.c mkswapconf.c
Message-ID:  <199512111052.CAA22226@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       95/12/11 02:52:39

  Modified:    usr.sbin/config  Makefile config.h config.y lang.l main.c
                        mkheaders.c  mkmakefile.c mkswapconf.c
  Added:       usr.sbin/config  mkoptions.c
  Log:
  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.
  
  Revision  Changes    Path
  1.10      +1 -1      src/usr.sbin/config/Makefile
  1.10      +9 -0      src/usr.sbin/config/config.h
  1.12      +24 -0     src/usr.sbin/config/config.y
  1.8       +8 -0      src/usr.sbin/config/lang.l
  1.10      +5 -0      src/usr.sbin/config/main.c
  1.2       +4 -2      src/usr.sbin/config/mkheaders.c
  1.13      +25 -5     src/usr.sbin/config/mkmakefile.c
  1.10      +1 -0      src/usr.sbin/config/mkswapconf.c



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