Re: CONFIG_TINY

Tom Rini (trini@kernel.crashing.org)
Fri, 1 Nov 2002 07:19:19 -0700


On Thu, Oct 31, 2002 at 08:27:52PM +0100, Rasmus Andersen wrote:
> On Thu, Oct 31, 2002 at 12:15:35PM -0700, Tom Rini wrote:
> > There currently isn't a CONFIG_TINY / CONFIG_DESKTOP / CONFIG_FOO. The
> > idea is that all of these changes you're working on to make a smaller
> > kernel shouldn't all be under CONFIG_TINY, but which ones are on / off
> > are read from some sort of template and there's a default 'tiny'
> > template, 'desktop' 'foo', etc template which has some on and some off.
> >
> > And this is a major concern since many of us who would have to deal with
> > this when it enters the kernel want it to done in a flexible manner
> > initially, not later on.
>
> OK. This certainly makes sense and I'll be happy to redo my stuff to
> match such a framework. This is not something I have thought a lot
> about until now, though.
>
> How would you go about implementing this? A central .h file with
> tweakables and a number of templates setting these?

I'm still trying to figure out exactly how to do this so that we don't
clutter up the more generic code. But some sort of tweaks.h, which
would include <asm/tiny_tweaks.h> or <asm/desktop_tweaks.h> (and maybe
an asm-generic/tiny_tweaks.h for non arch-specific parts).

-- 
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/