Subject: headers in opt directory (was Re: use .d for kernel)
To: Jonathan Stone <jonathan@Pescadero.dsg.stanford.edu>
From: Eric Haszlakiewicz <erh@jodi.nimenees.com>
List: tech-kern
Date: 11/08/2005 14:03:52
On Mon, Nov 07, 2005 at 09:45:46PM -0800, Jonathan Stone wrote:
> But then I've been wondering for some time wondering what it'd take to
> move the config-generated headers into a subdirectory, say ./opt.
> (OTOH, the thrash of changing all those #include "foo_opt.h"
> directives to #include "opt/foo_opt.h", for 400 or 500 distinct option
> headers, and the consequent pain in backporting any overlapping
> changes, strikes me as a very good argument to the contrary).
Why do that? Just add "CPPFLAGS+=-I./opt" and you're all set.
eric