mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Sparc doesn't build without input support / can't turn off VTs
@ 2004-05-18 23:27 Jonathan McDowell
  2004-05-19  0:04 ` Keith M Wesolowski
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan McDowell @ 2004-05-18 23:27 UTC (permalink / raw)
  To: sparclinux; +Cc: linux-kernel

Hi.

Tried to build 2.6.6 for my Sparc LX today, which runs headless. Turned
off all the input support and it failed to build - VT support couldn't
be disabled and this needs input support it seems.

Patch below allows disabling VT support for Sparc. I think it might also
want a "select INPUT" in the "config VT" section?

J.

-- 
Revd. Jonathan McDowell, ULC | Death is a nonmaskable interrupt.


--- linux-2.6.6/arch/sparc/Kconfig.orig	2004-05-19 00:16:05.320531000 +0100
+++ linux-2.6.6/arch/sparc/Kconfig	2004-05-18 21:30:07.000000000 +0100
@@ -27,7 +27,7 @@
 menu "General setup"
 
 config VT
-	bool
+	bool "Virtual terminal"
 	default y
 	---help---
 	  If you say Y here, you will get support for terminal devices with
@@ -57,7 +57,8 @@
 	  shiny Linux system :-)
 
 config VT_CONSOLE
-	bool
+	bool "Support for console on virtual terminal"
+	depends on VT
 	default y
 	---help---
 	  The system console is the device which receives all kernel messages
@@ -79,6 +80,7 @@
 
 config HW_CONSOLE
 	bool
+	depends on VT
 	default y
 
 config SMP

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Sparc doesn't build without input support / can't turn off VTs
  2004-05-18 23:27 [PATCH] Sparc doesn't build without input support / can't turn off VTs Jonathan McDowell
@ 2004-05-19  0:04 ` Keith M Wesolowski
  0 siblings, 0 replies; 2+ messages in thread
From: Keith M Wesolowski @ 2004-05-19  0:04 UTC (permalink / raw)
  To: Jonathan McDowell; +Cc: sparclinux, linux-kernel

On Wed, May 19, 2004 at 12:27:20AM +0100, Jonathan McDowell wrote:

> Tried to build 2.6.6 for my Sparc LX today, which runs headless. Turned
> off all the input support and it failed to build - VT support couldn't
> be disabled and this needs input support it seems.

Correct.  Your patch is probably ok, but it doesn't solve the problem
the right way.  We really need to source the generic configuration
files, which would give us CONFIG_EMBEDDED, which in turn would allow
disabling VT (and INPUT).

I have patches that do virtually all of this for sparc and sparc64;
however, there is a great deal of work needed to include all the
driver configs before that part can go in.  Specifically, every driver
needs to have reasonable dependencies, which requires working with the
maintainers to verify that the deps I have are right.  If you'd like
to pick this up and get it done, please reply to me privately and I'll
give you what you need.

-- 
Keith M Wesolowski

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-19  0:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-18 23:27 [PATCH] Sparc doesn't build without input support / can't turn off VTs Jonathan McDowell
2004-05-19  0:04 ` Keith M Wesolowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®