lkml.org 
[lkml]   [2003]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Surprising Kconfig depends semantics
Hi,

On Fri, 8 Aug 2003, Adrian Bunk wrote:

> CONFIG_SERIO=m with CONFIG_KEYBOARD_ATKBD=y shouldn't be a valid
> combination.
>
> The correct solution is most likely a
> default y if INPUT=y && INPUT_KEYBOARD=y && SERIO=y
> default m if INPUT!=n && INPUT_KEYBOARD!=n && SERIO!=n

This is probably the easiest solution:

default INPUT_KEYBOARD && SERIO

(INPUT_KEYBOARD already depends on INPUT)

> The semantics that in
>
> config FOO
> tristate
> default y if BAR
>
> FOO will be set to y if BAR=m is a bit surprising.

Why?

bye, Roman

-
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 13:47    [W:1.039 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site