lkml.org 
[lkml]   [2006]   [Aug]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 25 Aug 2006 08:21:34 +0200 (MEST)
FromJan Engelhardt <>
SubjectRe: [PATCH] BLOCK: Make it possible to disable the block layer
>
>Increasingly, these days, that approach has been failing due to all this
>Aunt Tillie crap. I tried turning off CONFIG_KALLSYMS the other day, but
>it took me a while to work out how. And the increasing use of 'select'
>is even worse.

menuconfig could include a feature which lists a dependency tree on the 
current option, that is, f.ex., hitting 'D' on CONFIG_INET_AH (IP: AH 
transformation) could 
give this screen:


--- Depends ---
[ ] Networking support
    [ ] TCP/IP networking
--- Selects ---
[*] CONFIG_XFRM
[*] Cryptogrpahic API
    --- HMAC support
    <M> MD5 digest algorithm
    <M> SHA1 digest algorithm
--- Selected by ---

And, now let's take a 'D' on CONFIG_CRYPTO_HMAC:

--- Depends ---
[*] Cryptographic API
--- Selects ---
--- Selected by ---
[*] Experimental
[*] Networking support
    [*] TCP/IP Networking
    [*] INET: AH transform
    [*] INET: ESP transform
    [*] INET6: AH transform
    [*] INET6: ESP transform
    [*] SCTP

So you can:
- enable any Depends to make CONFIG_INET_AH available
- see what it selects and cycle between <*> and <M> (if possible)
  for Selected options
- deselect all the Selected Bys to be able to unselect CRYPTO_HMAC
  itself[3]


[3] would be a tough thing because you can select with && and ||, in which 
case it should simply list all the options specified in the Kconfig without 
regard to && and || combinatinos.

Jan Engelhardt
-- 
-
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: 2006-08-25 08:29    [from the cache]
©2003-2008