mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 00:29:34 +07:00
3117ff13f1
If no console driver is enabled (or if a non-present driver is selected with something like console=null in an attempt to disable the console), opening /dev/console errors out, and init scripts and other userspace code that relies on the existence of a console will fail. Symlinking /dev/null to /dev/console does not solve the problem since /dev/null does not behave like a real TTY. To just provide a dummy console to userspace when no console driver is available or desired, add a ttynull driver which simply discards all writes. It can be chosen on the command line in the standard way, i.e. with console=ttynull. Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
39 lines
1.3 KiB
Makefile
39 lines
1.3 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_TTY) += tty_io.o n_tty.o tty_ioctl.o tty_ldisc.o \
|
|
tty_buffer.o tty_port.o tty_mutex.o \
|
|
tty_ldsem.o tty_baudrate.o tty_jobctrl.o \
|
|
n_null.o
|
|
obj-$(CONFIG_LEGACY_PTYS) += pty.o
|
|
obj-$(CONFIG_UNIX98_PTYS) += pty.o
|
|
obj-$(CONFIG_AUDIT) += tty_audit.o
|
|
obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
|
|
obj-$(CONFIG_N_HDLC) += n_hdlc.o
|
|
obj-$(CONFIG_N_GSM) += n_gsm.o
|
|
obj-$(CONFIG_TRACE_ROUTER) += n_tracerouter.o
|
|
obj-$(CONFIG_TRACE_SINK) += n_tracesink.o
|
|
obj-$(CONFIG_R3964) += n_r3964.o
|
|
|
|
obj-y += vt/
|
|
obj-$(CONFIG_HVC_DRIVER) += hvc/
|
|
obj-y += serial/
|
|
obj-$(CONFIG_SERIAL_DEV_BUS) += serdev/
|
|
|
|
# tty drivers
|
|
obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
|
|
obj-$(CONFIG_CYCLADES) += cyclades.o
|
|
obj-$(CONFIG_ISI) += isicom.o
|
|
obj-$(CONFIG_MOXA_INTELLIO) += moxa.o
|
|
obj-$(CONFIG_MOXA_SMARTIO) += mxser.o
|
|
obj-$(CONFIG_NOZOMI) += nozomi.o
|
|
obj-$(CONFIG_NULL_TTY) += ttynull.o
|
|
obj-$(CONFIG_ROCKETPORT) += rocket.o
|
|
obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o
|
|
obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o
|
|
obj-$(CONFIG_SYNCLINK) += synclink.o
|
|
obj-$(CONFIG_PPC_EPAPR_HV_BYTECHAN) += ehv_bytechan.o
|
|
obj-$(CONFIG_GOLDFISH_TTY) += goldfish.o
|
|
obj-$(CONFIG_MIPS_EJTAG_FDC_TTY) += mips_ejtag_fdc.o
|
|
obj-$(CONFIG_VCC) += vcc.o
|
|
|
|
obj-y += ipwireless/
|