Search in make menuconfig doesn't work properly
I have 2.6.13 and if I press '/' in make menuconfig (Search Configuration Parameter, Enter Keyword) and enther "emulation", it doesn't findCONFIG_BLK_DEV_IDESCSI - SCSI emulation support.
CL<
Quoted 4 lines · Karel Kulhavy
I have 2.6.13 and if I press '/' in make menuconfig (Search Configuration Parameter, Enter Keyword) and enther "emulation", it doesn't find
CONFIG_BLK_DEV_IDESCSI- SCSI emulation support.
AFAIK it only matches against the CONFIG_ symbols. If you want it to do more cook up a patch ;)
Signature · 1 line
". . . tell 'em we use Linux." -- Dave Chappelle
Quoted 9 lines · Cal Peake
Quoted 4 lines · Karel Kulhavy
I have 2.6.13 and if I press '/' in make menuconfig (Search Configuration Parameter, Enter Keyword) and enther "emulation", it doesn't find
CONFIG_BLK_DEV_IDESCSI- SCSI emulation support.AFAIK it only matches against the
CONFIG_symbols. If you want it to do more cook up a patch ;)
I suggest "Enter Keyword" to be changed to "Enter Keyword to search in CONFIG_... symbols".
CL<
Quoted 9 lines · Cal Peake
Quoted 4 lines · Karel Kulhavy
I have 2.6.13 and if I press '/' in make menuconfig (Search Configuration Parameter, Enter Keyword) and enther "emulation", it doesn't find
CONFIG_BLK_DEV_IDESCSI- SCSI emulation support.AFAIK it only matches against the
CONFIG_symbols. If you want it to do more cook up a patch ;)
IOW, entering:
/BLK_DEV_IDESCSI
does produce the expected (but maybe not the desired?) results.
WFM.
Signature · 1 line
~Randy
Quoted 8 lines · Karel Kulhavy
Quoted 7 lines · Cal Peake
Quoted 4 lines · Karel Kulhavy
I have 2.6.13 and if I press '/' in make menuconfig (Search Configuration Parameter, Enter Keyword) and enther "emulation", it doesn't find
CONFIG_BLK_DEV_IDESCSI- SCSI emulation support.
Quoted 5 lines
Quoted 2 lines
AFAIK it only matches against the
CONFIG_symbols. If you want it to do more cook up a patch ;)I suggest "Enter Keyword" to be changed to "Enter Keyword to search in
CONFIG_... symbols".
Makes sense. or "Enter CONFIG_ symbol to search for: (omit CONFIG_)".
Please send a patch.
Signature · 1 line
~Randy
PATCH 1/1 clarify menuconfig /(search) help text
In reply to Karel KulhavyFrom: Randy Dunlap <[email protected]>
Add explicit text about
- where menuconfig '/' (search) searches for strings,
- that substrings are allowed, and
- that regular expressions are supported.
---
scripts/kconfig/mconf.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-)
scripts/kconfig/mconf.c renamed from scripts/kconfig/mconf.c~search_keyword +2 -1
@@ -219,6 +219,7 @@ save_config_help[] = N_( search_help[] = N_("\n" "Search for CONFIG_ symbols and display their relations.\n" +"Regular expressions are allowed.\n" "Example: search for \"^FOO\"\n" "Result:\n" "-----------------------------------------------------------------\n"
@@ -531,7 +532,7 @@ again:cprint ("--title" );cprint (_ ("Search Configuration Parameter" ));cprint ("--inputbox" ); -cprint (_ ("Enter Keyword" )); +cprint (_ ("Enter CONFIG_ (sub)string to search for (omit CONFIG_)" ));cprint ("10" );cprint ("75" );cprint ("" );
---