]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: print the range of integer/hex symbol in help text
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 7 May 2010 05:56:50 +0000 (13:56 +0800)
committerMichal Marek <mmarek@suse.cz>
Wed, 2 Jun 2010 13:10:32 +0000 (15:10 +0200)
commitaf8d2a59681cc829e0dd4965b60d1caf4a22b94a
treee5ece7af4dec24c16aba02bbeaf648ae2e83ec38
parente051d7b449ef07ef059fc74373227ba2be9b2398
kconfig: print the range of integer/hex symbol in help text

Without this patch, one has to refer to the Kconfig file to find
out the range of an integer/hex symbol.

  │ Symbol: NR_CPUS [=4]
  │ Type  : integer
  │ Range : [2 8]
  │ Prompt: Maximum number of CPUs
  │   Defined at arch/x86/Kconfig:761
  │   Depends on: SMP [=y] && !MAXSMP [=n]
  │   Location:
  │     -> Processor type and features

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/expr.c
scripts/kconfig/menu.c