Re: Make menuconfig broken

James Simmons
2003-07-22T16:32:13Z

> > Try this in 2.6.0-test1:
> > rm .config
> > make mrproper
> > make menuconfig
> >
> > There is no option for CONFIG_VT, and CONFIG_VT_CONSOLE under
> > character devices in "make menuconfig.
>
> Try enabling CONFIG_INPUT.
>
> Vojtech, how about the patch below? This way CONFIG_VT isn't hidden behind
> CONFIG_INPUT, but CONFIG_INPUT is selected if needed.
>
> Index: drivers/char/Kconfig
> ===================================================================
> RCS file: /home/other/cvs/linux/linux-2.6/drivers/char/Kconfig,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 Kconfig
> --- drivers/char/Kconfig 14 Jul 2003 09:22:00 -0000 1.1.1.1
> +++ drivers/char/Kconfig 22 Jul 2003 08:08:26 -0000
> @@ -6,7 +6,7 @@ menu "Character devices"
>
> config VT
> bool "Virtual terminal"
> - requires INPUT=y
> + select INPUT
> ---help---
> If you say Y here, you will get support for terminal devices with
> display and keyboard devices. These are called "virtual" because you

What about the keyboard being built in. People will still not set that.

The proper solution would be to alter the build system on a default build
to scan the .config file for CONFIG_PC_KEYB, CONFIG_MOUSE, CONFIG_BUSMOUSE,
CONFIG_PSMOUSE etc. Then convert them to what is needed for 2.6.X. The same
for framebuffer console stuff. We can scan for CONFIG_FB and if
CONFIG_FRAMEBUFFER_CONSOLE is not present set it. We only would need to do
this for a default build.