Re: How to remove 2000+ lines from 400+ defconfig files?

From: Paul Bolle
Date: Tue Nov 15 2011 - 14:26:32 EST


On Tue, 2011-11-15 at 19:39 +0100, Michal Marek wrote:
> > But, I do have a naive question: are defconfigs meant to be drop in
> > replacements for .config files or is one supposed to first feed them to
> > the config tools to generate an up to date .config?
>
> defconfig files are used as input of the conf program.
>
> > Since, if one is
> > supposed to feed them to the config tools first it doesn't matter
> > whether the (outdated) macros are still used somewhere in the code,
> > doesn't it? The config tools will simply drop all macros they can't
> > match with Kconfig symbols. (Or don't they? Michal?)
>
> Yes, they will not appear in the .config.

So the fact that a few of these macros are still currently used in the
code shouldn't bother us. The maintainers of that code have no reason to
complain about dropping those macros from the various defconfig files,
because that removal doesn't actually matter. Correct?


Paul Bolle

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