Re: [PATCH] Making keyboard/mouse drivers dependent on CONFIG_EMBEDDED

Roman Zippel (zippel@linux-m68k.org)
Sat, 7 Jun 2003 19:02:41 +0200 (CEST)


Hi,

On Fri, 6 Jun 2003, Aaron Lehmann wrote:

> On Sat, Jun 07, 2003 at 08:34:24AM +0200, Andi Kleen wrote:
> > I finally got sick of seeing bug reports from people who did not enable
> > CONFIG_VT or forgot to enable the obscure options for the keyboard
> > driver. This is especially a big problem for people who do make oldconfig
> > with a 2.4 configuration, but seems to happen in general often.
> > I also included the PS/2 mouse driver. It is small enough and a useful
> > fallback on any PC.
>
> Can't these just be made the default and have oldconfig default to the
> defaults (does it?). Seems silly to force people to jump through hoops
> if they don't want to compile in something (i.e. they use a USB
> mouse).

Defaults cannot override the user values from .config and in most 2.4
.configs CONFIG_INPUT is disabled, so that you cannot change CONFIG_VT
with 'make oldconfig', as it depends now on CONFIG_INPUT.
To override the old CONFIG_INPUT value you either have to disable the
input prompt somehow or you have to rename the symbol and change
CONFIG_INPUT into a derived symbol, e.g.:

config INPUT2
tristate "Input devices (needed for keyboard, mouse, ...)"
default y

config INPUT
def_tristate INPUT2

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/