Re: [PATCH] make miniconfig (take 2)

From: Roman Zippel
Date: Thu Nov 24 2005 - 09:01:35 EST


Hi,

On Mon, 21 Nov 2005, Rob Landley wrote:

> Add "make miniconfig", plus documentation, plus the script that creates a
> minimal mini.config from a normal .config file.

The difference between miniconfig and allnoconfig is IMO too small to be
really worth it right now.

If we go that path, this functionality should be integrated properly.
What I have in mind is to create a new config file with a bit different
format, which is only read by kconfig. This one can also have a switch
"only save the minimum". The important part is that if this file exists,
all kconfig front ends will use it and keep it properly uptodate.

'make miniconfig' would then simply convert the current config to a
minimized version. One problem I see with this how kconfig should behave,
when it's thrown into a new kernel release. Setting everything else to 'n'
is one possibility, but sometimes such options as CONFIG_SWAP are added,
which one certainly wants enabled. Using the defaults would be a
possibility, but they are currently massively abused (and I'll probably
soon start a cleanup of them).

> 1) Documentation.

This is of course always nice, but it would be even better, if it also
included information about the other config targets, even it's mostly a
place holder.

bye, Roman
-
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/