help text on a "choice" entry isn't displayable

Robert P. J. Day rpjday at crashcourse.ca
Thu Jul 17 11:14:12 UTC 2008


  just an observation that any help text associated with a "choice"
entry in a Config.in isn't currently displayable while you're doing a
"make menuconfig".

  for example, in Config.in, you have:

choice
        prompt "Buffer allocation policy"
        default FEATURE_BUFFERS_USE_MALLOC
        help
          There are 3 ways BusyBox can handle buffer allocations:
          - Use malloc. This costs code size for the call to xmalloc.
          - Put them on stack. For some very small machines with limited stack
            space, this can be deadly.  For most folks, this works just fine.
          - Put them in BSS. This works beautifully for computers with a real
            MMU (and OS support), but wastes runtime RAM for uCLinux. This
            behavior was the only one available for BusyBox versions 0.48 and
            earlier.

config FEATURE_BUFFERS_USE_MALLOC
        bool "Allocate with Malloc"

... etc etc ...

  but while you're doing a configuration, there is no way to display
all of that help info above.  the same drawback exists in the linux
kernel config structure.  unless i'm missing something really obvious.

rday

p.s.  you can, of course, display any help info associated with any of
the underlying choices, just not the "choice" directive itself.  or is
there a trick of which i am unaware?

--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================



More information about the busybox mailing list