summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/Makefile
diff options
context:
space:
mode:
authorFugang Duan <fugang.duan@nxp.com>2020-08-10 08:06:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-18 13:54:34 +0200
commitea1fc02e12b647d8dd7515d1dba137847d8e951d (patch)
treeaf191a4dd93f9af740bd2fe0d4c546b9016d51f7 /drivers/tty/serial/Makefile
parentserial: samsung: Removes the IRQ not found warning (diff)
downloadlinux-ea1fc02e12b647d8dd7515d1dba137847d8e951d.tar.xz
linux-ea1fc02e12b647d8dd7515d1dba137847d8e951d.zip
tty: serial: imx: add dependence and build for earlycon
Add the earlycon dependence and add earlycon Makefile support to allow to build the driver. Fixes: 699cc4dfd140 ("tty: serial: imx: add imx earlycon driver") Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Link: https://lore.kernel.org/r/20200810060652.3436-1-fugang.duan@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Makefile')
-rw-r--r--drivers/tty/serial/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/Makefile b/drivers/tty/serial/Makefile
index d056ee6cca33..caf167f0c10a 100644
--- a/drivers/tty/serial/Makefile
+++ b/drivers/tty/serial/Makefile
@@ -43,6 +43,7 @@ obj-$(CONFIG_SERIAL_ZS) += zs.o
obj-$(CONFIG_SERIAL_SH_SCI) += sh-sci.o
obj-$(CONFIG_SERIAL_CPM) += cpm_uart/
obj-$(CONFIG_SERIAL_IMX) += imx.o
+obj-$(CONFIG_SERIAL_IMX_EARLYCON) += imx_earlycon.o
obj-$(CONFIG_SERIAL_MPC52xx) += mpc52xx_uart.o
obj-$(CONFIG_SERIAL_ICOM) += icom.o
obj-$(CONFIG_SERIAL_MESON) += meson_uart.o