aboutsummaryrefslogtreecommitdiff
path: root/drivers/tty/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/Makefile')
-rw-r--r--drivers/tty/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/Makefile b/drivers/tty/Makefile
index 2953059530e4..df5663d0d55e 100644
--- a/drivers/tty/Makefile
+++ b/drivers/tty/Makefile
@@ -1,4 +1,4 @@
-obj-y += tty_io.o n_tty.o tty_ioctl.o tty_ldisc.o \
+obj-$(CONFIG_TTY) += tty_io.o n_tty.o tty_ioctl.o tty_ldisc.o \
tty_buffer.o tty_port.o tty_mutex.o
obj-$(CONFIG_LEGACY_PTYS) += pty.o
obj-$(CONFIG_UNIX98_PTYS) += pty.o