Re: mainlining min-configs...

From: Rob Landley
Date: Wed Jun 11 2008 - 01:51:56 EST


On Tuesday 10 June 2008 13:18:30 Tim Bird wrote:
> bitrot in mainline. My experience is that usually a 'make oldconfig'
> will produce something usable. But maybe that wouldn't be as
> effective with a minconfig?

I'm probably going to have to start breaking down and patching the kconfig
infrastructure. (Today, I drove allnoconfig into an endless loop. Go me.)

So far the only "gotcha" I've found is added guard symbols, and it's
semantically pretty clear what a miniconfig should do there: force open the
menu that contains a symbol you're setting, rather than _ignore_ that symbol.

> Maybe I'll collect some minconfigs, and try maintaining them
> in my own tree for a few releases to see how onerous it is...

The thing about my .configs is that I boot test them each new kernel release,
using qemu. This is 100% scriptable, actually, which you can seldom say
about real hardware.

> The problem is that I can only reasonably do this for boards
> I have, so there'd only be a few. But maybe that'd be enough.
> They would really only be meant as examples.

Start with qemu and work your way out? That's what I'm doing. (Any platform
that isn't emulated by qemu is almost by definition not very interesting...)

Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/