lkml.org 
[lkml]   [2005]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] make miniconfig (take 2)
Hi,

On Fri, 25 Nov 2005, Rob Landley wrote:

> Ok, what's the best thing I can do to help get this implemented, working
> _with_ you rather than against?

It's not exactly simple, as it requires some kconfig hacking.
Something relatively simply would be to change the miniconfig.sh script
into a C program, where it would have to access to all the information to
do the job fast and correctly.
I think it can even be done in a single pass over all the symbols, where
boolean/tristate symbols are checked if they are already at the minimum
value and string/hex/int values are compared with their default values.
Next step could be to add a variation of allnoconfig with better error
checking (e.g. checking that all requested symbols have been set), the
basic allnoconfig functionality is just a few lines of code, the fun is
in the extras.

To further reduce the config size one could look at the dependecies, e.g.:

config FOO
depends on BAR && BAZ1 || BAZ2

In this case FOO could also set BAR, but not BAZ1/BAZ2.
But this also requires a new frontend to read such a minimized config
file and is quite a bit more complex.

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

\
 
 \ /
  Last update: 2005-11-28 00:24    [W:0.128 / U:1.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site