mirror of https://gitee.com/openkylin/linux.git
serdev: simplify Makefile
drivers/tty/Makefile has: obj-$(CONFIG_SERIAL_DEV_BUS) += serdev/ so in drivers/tty/serdev/Makefile CONFIG_SERIAL_DEV_BUS is always =y. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20191212101649.18126-1-u.kleine-koenig@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9fe0d41ffd
commit
54edb42534
|
@ -1,6 +1,6 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
serdev-objs := core.o
|
serdev-objs := core.o
|
||||||
|
|
||||||
obj-$(CONFIG_SERIAL_DEV_BUS) += serdev.o
|
obj-y += serdev.o
|
||||||
|
|
||||||
obj-$(CONFIG_SERIAL_DEV_CTRL_TTYPORT) += serdev-ttyport.o
|
obj-$(CONFIG_SERIAL_DEV_CTRL_TTYPORT) += serdev-ttyport.o
|
||||||
|
|
Loading…
Reference in New Issue