]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: add symbol value to help find the real depend
authorCheng Renquan <crquan@gmail.com>
Sun, 12 Jul 2009 08:11:43 +0000 (16:11 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 20 Sep 2009 10:27:41 +0000 (12:27 +0200)
commit50544de028bbded42788800273e22e3ae10a565c
treef4a42676b42ebd7b0f46b1ffc4d952840040e3b3
parent56b2b2a3a40ff62016509f5a523c227415b60710
kconfig: add symbol value to help find the real depend

Sometimes when configuring need to disable some unused item, but the item is
selected by many other items, it's hard to find the real dependency which
selected it, This patch add every symbol's value accompanied to make it
possible to find the real dependency easily.

An example is CONFIG_RFKILL,

  ---------------------- RF switch subsystem support ----------------------
  | CONFIG_RFKILL:                                                        |
  |                                                                       |
  | Say Y here if you want to have control over RF switches               |
  | found on many WiFi and Bluetooth cards.                               |
  |                                                                       |
  | To compile this driver as a module, choose M here: the                |
  | module will be called rfkill.                                         |
  |                                                                       |
  | Symbol: RFKILL [=m]                                                   |
  | Prompt: RF switch subsystem support                                   |
  |   Defined at net/rfkill/Kconfig:4                                     |
  |   Depends on: NET [=y]                                                |
  |   Location:                                                           |
  |     -> Networking support (NET [=y])                                  |
  |   Selected by: IWLCORE [=n] && NETDEVICES [=y] && !S390 [=S390] && PC |
  |                                                                       |
  ----------------------------------------------------------------( 99%)---

Signed-off-by: Cheng Renquan <crquan@gmail.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/kconfig/expr.c