svn commit: trunk/busybox/modutils

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Wed Jan 24 17:38:29 UTC 2007


On Wednesday 24 January 2007 153, Mike Frysinger wrote:
> On Wednesday 24 January 2007 08:21, Peter Kjellerstedt wrote:
> > The changes below (combined with the previous changes of
> > combining bool and prompt) does not match the previous
> > (and I believe intended) behavior.
> i'll revert since the purpose was to not have these options use a format that 
> was different from everything else, but as you point out this is not possible 
> without changing the behavior

In fact, the expected behavior is to have the variable not to be shown, but
defaulting to Y if NITPICK is not positionned, so NITPICK does not affect
the presence of the variable, just its prompt.

config FOO
  bool "foo" if BAR

is the same as:

config FOO
  bool
  prompt "foo"
  depends on BAR

which means that FOO can exist only if BAR does exist, which is clearly not
what is expected.

I knew when submitting that I was doing things somewhat different, but I needed
that.

I think that the 'kconfig' language is really badly spec'ed and designed.
It very badly mixes things up, such as 'visibility' and 'availibility'.

Thanks for reverting!

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  conspiracy.  |
°------------------------------°-------°------------------°--------------------°




More information about the busybox mailing list