Re: [PATCH] Add Kconfig dependency !VT for VIOCONS
From: Randy Dunlap <hidden>
Date: 2006-10-11 04:07:34
Also in:
lkml
On Wed, 11 Oct 2006 05:56:29 +0200 Adrian Bunk wrote:
On Tue, Oct 10, 2006 at 09:10:04AM -0700, Randy Dunlap wrote:quoted
On Tue, 10 Oct 2006 06:55:34 +0200 Adrian Bunk wrote:quoted
On Fri, Oct 06, 2006 at 02:34:37PM -0700, Randy Dunlap wrote:quoted
On Fri, 6 Oct 2006 13:00:07 -0700 Judith Lebzelter wrote:quoted
Actually, this gets rid of the CONFIG_VIOCONS from my .config, but then I get another warning when I build: Warning! Found recursive dependency: VT VIOCONS VT Can anyone suggest something?I think that your patch is mostly good/correct, but one more line is needed on the VT side: a deletion. This works for me: From: Randy Dunlap <redacted> Make allmodconfig .config build successfully by making VIOCONS available only if VT=n. VT need not check VIOCONS. Signed-off-by: Randy Dunlap <redacted> --- arch/powerpc/platforms/iseries/Kconfig | 2 +- drivers/char/Kconfig | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)--- linux-2619-rc1g2.orig/arch/powerpc/platforms/iseries/Kconfig +++ linux-2619-rc1g2/arch/powerpc/platforms/iseries/Kconfig@@ -3,7 +3,7 @@ menu "iSeries device drivers" depends on PPC_ISERIES config VIOCONS - tristate "iSeries Virtual Console Support (Obsolete)" + tristate "iSeries Virtual Console Support (Obsolete)" if !VT help... config VT bool "Virtual terminal" if EMBEDDEDWith this dependency on EMBEDDED, you could as well simply remove VIOCONS...quoted
select INPUT - default y if !VIOCONSRemoving the "default y" is wrong.Oops, yes, agreed. I don't see a way (using: make ARCH=powerpc iseries_defconfig, which wants to enable VIOCONS) to prevent VT from being enabled so that VIOCONS can be enabled.With iseries_defconfig, CONFIG_VT is not enabled.quoted
However, since VIOCONS is marked (Obsolete) and since the powerpc people don't comment on this patch & problem, maybe Judith is the only person who cares.allmodconfig turns on CONFIG_EMBEDDED.
So am I doing this incorrectly? $ make ARCH=powerpc iseries_defconfig $editor .config CONFIG_VT=y ... # # iSeries device drivers # CONFIG_VIODASD=y CONFIG_VIOCD=m CONFIG_VIOTAPE=m CONFIG_VIOPATH=y --- ~Randy