Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

Re: Pb compiliing linux-arm [another one]

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


rmk at milldev

Feb 3, 1999, 2:22 AM

Post #1 of 2 (22 views)
Permalink
Re: Pb compiliing linux-arm [another one]

Please note that I don't think that any of the people concerned with
this problem are on l-k. Please post any replies to linux-arm as well
as linux-kernel. Thanks.
Nicolas Pitre said:
> On Tue, 2 Feb 1999, Russell King - ARM Linux Admin wrote:
> > christophe.leroy5 [at] capway writes:
> > > Thinks, it seems to be a bug in menuconfig: Choose
> > > FOOTBRIDGE:
> > > new options come. Then choose EBSA110, options dont go.
> > > Exit menuconfig, then relaunch it: extra options have disappeared.
> >
> > Ok, I've changed it from a choice to a bool.
>
> Thing is if you have a default value for a choice and you select another,
> the previous (default) value doesn't get discarded. So you get two
> definition from the same choice prompt. The 'choice' command should
> discard all variable but the one selected, not just defining the one that
> you select.
It's actually more complicated than that. 'choice' does not behave the same
way as the other commands in the config file - it is never grayed out under
any circumstances, and I also suspect that even when it is supposed to be
grayed out and no options selected, it still defines one option.
I don't think it's a case of undefining the unselected variables. The
config is:
select machine using choice
if machine was a footbridge
select host or add-in from a choice
Since the 'if' makes no odds to the second choice in xconfig, it breaks.
I'll post this to linux-kernel as well. If they want to see the exact case,
have a look at the latest ARM config.in patches for 2.2.1 on
ftp://ftp.arm.linux.org.uk/pub/armlinux/kernel-sources/v2.2
--
Russell King (rmk [at] milldev)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
Please read the FAQ at http://www.tux.org/lkml/


mec at shout

Feb 3, 1999, 8:54 AM

Post #2 of 2 (20 views)
Permalink
Re: Pb compiliing linux-arm [another one] [In reply to]

Hi Russell,
Someone said:
Someone> Thing is if you have a default value for a choice and you
Someone> select another, the previous (default) value doesn't get discarded.
Someone> So you get two definition from the same choice prompt. The 'choice'
Someone> command should discard all variable but the one selected, not just
Someone> defining the one that you select.
The 'choice' command already does that in all interpreters. This is not
the problem.
Russell> It's actually more complicated than that. 'choice' does not
Russell> behave the same way as the other commands in the config file
Russell> - it is never grayed out under any circumstances, and I also suspect
Russell> that even when it is supposed to be grayed out and no options
Russell> selected, it still defines one option.
Yes, this is the problem. It's another xconfig bug that's been there
for five years.
Axel Boldt sent me a patch to fix this so it will be fixed in the next
round of xconfig bug fixes.
Michael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.