Re: [RFC] Templates and tweaks (for size performance and more)

Tom Rini (trini@kernel.crashing.org)
Thu, 7 Nov 2002 16:57:58 -0700


On Thu, Nov 07, 2002 at 03:10:17PM -0700, Tom Rini wrote:
> On Thu, Nov 07, 2002 at 09:08:08PM +0000, Russell King wrote:
> > Oh, there's another problem built into this method as well.
> >
> > Instead of one "tweak" depending on one configuration option, it suddenly
> > depends on a whole load of configuration options. You change one of these
> > options, and you rebuild everything that uses the asm/tweaks.h (or whatever
> > the filename was.)
> >
> > IMHO this is a backward step. ;(
>
> That is annoying. But I'm not quite sure how this doesn't happen for
> <linux/config.h>. Is it just the <linux/config.h> -> <linux/autoconf.h>
> which is what is actually changed? Or is there more magic to it?

I've found fixdep and split-include (Thanks Kai!) and I'm going to try
and figure out a clean way to do this.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/