Re: [PATCHv2] tty: Added a CONFIG_TTY option to allow removal of TTY

From
Jiri Slaby <hidden>
Date
2012-09-03 21:16:05
Also in
lkml
Reply to
Joe Millenbach, 2012-09-03
On 09/03/2012 02:44 AM, Joe Millenbach wrote:
The option allows you to remove TTY and compile without errors. This
saves space on systems that won't support TTY interfaces anyway.
bloat-o-meter output is below.
...
quoted hunk ↗ jump to hunk
--- a/drivers/tty/Kconfig
+++ b/drivers/tty/Kconfig
@@ -1,3 +1,14 @@
+config TTY
+	bool "Enable TTY" if EXPERT
+	default y
+	---help---
+	  Allows you to remove TTY support which can save space, and
+	  blocks features that require TTY from inclusion in the kernel.
+	  TTY is required for any text terminals or serial port
+	  communication. Most users should leave this enabled.
+
+if TTY
+
 config VT
 	bool "Virtual terminal" if EXPERT
 	depends on !S390 && !UML
@@ -355,6 +366,8 @@ config TRACE_SINK
 	  If you select this option, you need to select
 	  "Trace data router for MIPI P1149.7 cJTAG standard".
 
+endif # TTY
+
 config PPC_EPAPR_HV_BYTECHAN
 	tristate "ePAPR hypervisor byte channel driver"
 	depends on PPC
Hmm, I wonder why do not you include EHV in the depends-on-tty list?

thanks,
-- 
js
suse labs
Thread (5 messages) 5 messages, 2 authors, last reply 2012-09-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help