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

From: Michal Marek
Date: Tue Nov 15 2011 - 13:39:10 EST


Dne 15.11.2011 16:37, Paul Bolle napsal(a):
On Tue, 2011-11-15 at 14:14 +0100, Jiri Kosina wrote:
I am fine taking those through trivial.git and handling the fallout.

Great.

The only ones I'd have objections to taking immediately are those which are
actually still referenced somewhere in the code.
For those, either taking them through appropriate maintainers, or having
their Acked-by would be required.

I don't mind. That shouldn't be a lot of extra work for me.

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.

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