]> git.openfabrics.org - ~emulex/infiniband.git/commit
kconfig: remove CONFIG_ from string constants
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 19 Oct 2012 23:06:23 +0000 (01:06 +0200)
committerMichal Marek <mmarek@suse.cz>
Tue, 20 Nov 2012 10:20:08 +0000 (11:20 +0100)
commit337a275d03e0b900dc8ac3ab5583d18099fedae6
tree0301b425b541ee91dcffdb5253536a448efd15e9
parent7d5bb966290d71d9dfe69a3ed0c31b26bf9afc63
kconfig: remove CONFIG_ from string constants

Having the CONFIG_ prefix in string constants gets in the way of
using a run-time-defined CONFIG_ prefix.

Fix that by using temp growable strings (gstr) in which we printf
the text.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/mconf.c
scripts/kconfig/nconf.c