Subject: Re: README: setroot changes that affect you!
To: Erik Bertelsen <erik@sockdev.uni-c.dk>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 01/31/1997 18:35:22
On Fri, 31 Jan 1997 11:07:27 +0100 (MET) 
 Erik Bertelsen <erik@sockdev.uni-c.dk> wrote:

 > The whole idea looks fine -- thank you for the effort.

No problem :-)

 > I still have one wish: Instead of compiling with -DFFS and a bunch of
 > other -D options, I propose to have config generate a header file (e.g.
 > file-system.h or something along this line (or even fs-ffs.h, fs-cd9660.h,
 > etc.)) that is included in just those source files that need it. 
 > 
 > This will have two advantages:
 > 
 >   - reduces the number of -D options to the compilations.
 >   - may increase the reliability of make file dependencies: changes in
 >     the file system support configuration may require all file system
 >     sources to be recompiled, but at least it will not generate
 >     dependencies for the rest of the kernel.

So, I took a look at this today.  It was actually pretty easy to add
support for this to config, and my local version now generates option
headers.  I have a couple more things to tweak, but I plan on comitting
this Very Soon (next couple of days, probably).

Oh, I should mention that I wrote it so that options can be turned
in to "option header options" one at a time, so that we don't have
to convert the whole source tree at once :-)

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939