cvs commit: src/usr.sbin/config config.h config.y main.c

John Baldwin jhb at FreeBSD.org
Thu Oct 27 10:13:23 PDT 2005


jhb         2005-10-27 17:13:23 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/config      config.h config.y main.c 
  Log:
  Optionally include a DEFAULTS config file if it is present in the current
  directory before the specified config file.  This is implemented by
  opening DEFAULTS as stdin if it exists, and if so resetting stdin to the
  actual config file when DEFAULTS is fully parsed via yywrap().  In short,
  this lets us create DEFAULTS kernel configs in /sys/<arch>/conf that can
  enable certain options or devices by default and allow users to disable
  them via 'nooptions' or 'nodevice' rather than having to create kludge
  NO_FOO options.
  
  Requested by:   scottl
  Reviewed by:    scottl
  
  Revision  Changes    Path
  1.57      +1 -0      src/usr.sbin/config/config.h
  1.67      +16 -0     src/usr.sbin/config/config.y
  1.67      +10 -3     src/usr.sbin/config/main.c


More information about the cvs-src mailing list