lkml.org 
[lkml]   [2001]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Re: 2.4.6p6: dep_{bool,tristate} $CONFIG_ARCH_xxx bugs
Date
Keith Owens wrote:
> On Sun, 1 Jul 2001 21:46:04 -0700,
> "Adam J. Richter" <adam@yggdrasil.com> wrote:
> >Can you even write a hypothetical example?
>
> if [ "$CONFIG_foo" = "n" -a "$CONFIG_bar" = "n" ]; then
> define_bool "$CONFIG_ALLOW_foo_bar n
> fi
> ....
> dep_tristate CONFIG_baz $CONFIG_ALLOW_foo_bar

Unfortunately this does not work as you expect (depends on history) if
any of CONFIG_foo CONFIG_bar can be changed.

When changing one of them to y, the value of CONFIG_ALLOW_foo_bar in
make menuconfig / make xconfig is not undefined...

Andrzej

--
=======================================================================
Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl
phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math., Technical University of Gdansk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.032 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site