Messages in this thread | | | From | Andrzej Krzysztofowicz <> | Subject | Re: [PATCH] Re: 2.4.6p6: dep_{bool,tristate} $CONFIG_ARCH_xxx bugs | Date | Mon, 2 Jul 2001 11:29:49 +0200 (MET DST) |
| |
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/
| |