Date: Thu, 27 Oct 2005 17:13:23 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/config config.h config.y main.c Message-ID: <200510271713.j9RHDNTo013082@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510271713.j9RHDNTo013082>