Skip to contentSkip to conversation

viocons: make powerpc allmodconfig build

PATCH In review Randy Dunlap 2 participants 5 messages Oct 17, 2006 – Oct 18, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 viocons: make powerpc allmodconfig build

From: Randy Dunlap <[email protected]>

Make allmodconfig .config build successfully by making VIOCONS available only if VT=n.
Using PPC_ISERIES in VT prevents kconfig "recursive" warning.

---
 arch/powerpc/platforms/iseries/Kconfig |    2 +-
 drivers/char/Kconfig                   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/char/Kconfig +1 -1
@@ -7,7 +7,7 @@ menu "Character devices"
 config VT
 	bool "Virtual terminal" if EMBEDDED
 	select INPUT
-	default y if !VIOCONS
+	default y if !PPC_ISERIES
 	---help---
 	  If you say Y here, you will get support for terminal devices with
 	  display and keyboard devices. These are called "virtual" because you
arch/powerpc/platforms/iseries/Kconfig +1 -1
@@ -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
 	  This is the old virtual console driver for legacy iSeries.
 	  You should use the iSeries Hypervisor Virtual Console

---

#1 lore raw
Quoted 6 lines · On Tue, 17 Oct 2006 09:50:03 -0700 Randy Dunlap <[email protected]> wrote:

From: Randy Dunlap <[email protected]>

Make allmodconfig .config build successfully by making VIOCONS available only if VT=n.
Using PPC_ISERIES in VT prevents kconfig "recursive" warning.

The problem with this is that we are moving toward being able to build a single kernel with PPC_PSERIES and PPC_ISERIES (and others) all defined, and this patch will stop Virtual terminal being built in that case.

--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/

#2 lore raw
Quoted 10 lines · Stephen Rothwell
Quoted 5 lines · On Tue, 17 Oct 2006 09:50:03 -0700 Randy Dunlap <[email protected]> wrote:

From: Randy Dunlap <[email protected]>

Make allmodconfig .config build successfully by making VIOCONS available only if VT=n.
Using PPC_ISERIES in VT prevents kconfig "recursive" warning.

The problem with this is that we are moving toward being able to build a single kernel with PPC_PSERIES and PPC_ISERIES (and others) all defined, and this patch will stop Virtual terminal being built in that case.

OK. Makes sense. Will you just build VT in that combo *series config and not build VIOCONS? If so, that would still fix "make allmodconfig" to build cleanly (I think).

Signature · 1 line
~Randy
#3 lore raw
Quoted 4 lines · On Tue, 17 Oct 2006 18:24:31 -0700 "Randy.Dunlap" <[email protected]>…

OK. Makes sense. Will you just build VT in that combo *series config and not build VIOCONS? If so, that would still fix "make allmodconfig" to build cleanly (I think).

Yes, VIOCONS is now obsolete (it is replaced by HVC_ISERIES which doesn't clash with VT), but it is used by the distros so I don't want to remove it (yet).

--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/

#4 lore raw
Quoted 8 lines · Stephen Rothwell
Quoted 3 lines · On Tue, 17 Oct 2006 18:24:31 -0700 "Randy.Dunlap" <[email protected]>…

OK. Makes sense. Will you just build VT in that combo *series config and not build VIOCONS? If so, that would still fix "make allmodconfig" to build cleanly (I think).

Yes, VIOCONS is now obsolete (it is replaced by HVC_ISERIES which doesn't clash with VT), but it is used by the distros so I don't want to remove it (yet).

OK, I wasn't suggesting removing it, just tweaking the dependencies etc. Is that doable now or do we wait for the integrated I/P series configs?

Signature · 1 line
~Randy