• Sam Ravnborg's avatar
    kconfig: Redo and improve search support · 4adf8a92
    Sam Ravnborg authored
    Based on patch from: Roman Zippel <zippel@linux-m68k.org>
    
    The search functionality has been improved:
    - Restructured printout with more info
    - Include value of relevant symbols
    - Improved handling of corner cases
    - Generic search support moved to backend - ready to be utilised by xconfig and gconfig
    - Search functionality moved to fronend - not hardcoded in menubox.c
    
    Sample search (^$ used to limit search):
    Search for "^USB_STORAGE$":
    
    Symbol: USB_STORAGE [=y]
    Prompt: USB Mass Storage support
      Defined at drivers/usb/storage/Kconfig:7
      Depends on: USB
      Location:
        -> Device Drivers
          -> USB Support
      Selects: SCSI
    
    
    Some symbols has loong "Depends on:" lines - for example FW_LOADER.
    Use arrows to scroll horisontally to see full value.
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    4adf8a92
menubox.c 12.6 KB