Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 1995 09:46:50 +0000 (GMT)
From:      Paul Richards <p.richards@elsevier.co.uk>
To:        davidg@Root.COM
Cc:        gibbs@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org
Subject:   Re: cvs commit: src/usr.sbin/config Makefile main.c
Message-ID:  <199511300946.JAA18536@isis>
In-Reply-To: <199511291846.KAA00293@corbin.Root.COM> from "David Greenman" at Nov 29, 95 10:46:28 am

next in thread | previous in thread | raw e-mail | index | archive | help
In reply to David Greenman who said
> 
>    The other idea is to add an option file for each supported option. Some
> people don't like this because it makes adding a new option a little more
> difficult (all the options would have to be listed in an options file, and
> you need to add a #include plus a #ifdef to each file that uses the option).
> The idea is that the option file would have a name like "option_foobar.h" or
> something deterministic which would be autogenerated by config. The file
> would either have the #define or it would be null (consuming no disk space
> and would be relative fast access). This approach allows for fine control
> over the kernel options dependency.

Sounds good to me. If it makes it harder to add kernel options that's
a bonus we gain as a side effect :-)

-- 
  Paul Richards. Originative Solutions Ltd.
  Internet: paul@netcraft.co.uk, http://www.netcraft.co.uk
  Phone: 0370 462071 (Mobile), +44 1225 447500 (work)



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