Skip to content
Snippets Groups Projects
Commit 7742aa65 authored by Marek Vasut's avatar Marek Vasut Committed by Tom Rini
Browse files

serial: Move common/serial.c to drivers/serial/


Move the common/serial.c into driver/serial/, since this file
provides serial multiplexing functions and it is imperative to
be linked with libserial.o instead of libcommon.o.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Tom Rini <trini@ti.com>
parent 19b8fa0b
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,6 @@ COBJS-y += command.o ...@@ -32,7 +32,6 @@ COBJS-y += command.o
COBJS-y += exports.o COBJS-y += exports.o
COBJS-$(CONFIG_SYS_HUSH_PARSER) += hush.o COBJS-$(CONFIG_SYS_HUSH_PARSER) += hush.o
COBJS-y += s_record.o COBJS-y += s_record.o
COBJS-$(CONFIG_SERIAL_MULTI) += serial.o
COBJS-y += xyzModem.o COBJS-y += xyzModem.o
COBJS-y += cmd_disk.o COBJS-y += cmd_disk.o
......
...@@ -25,6 +25,10 @@ include $(TOPDIR)/config.mk ...@@ -25,6 +25,10 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libserial.o LIB := $(obj)libserial.o
ifndef CONFIG_SPL_BUILD
COBJS-$(CONFIG_SERIAL_MULTI) += serial.o
endif
COBJS-$(CONFIG_ALTERA_UART) += altera_uart.o COBJS-$(CONFIG_ALTERA_UART) += altera_uart.o
COBJS-$(CONFIG_ALTERA_JTAG_UART) += altera_jtag_uart.o COBJS-$(CONFIG_ALTERA_JTAG_UART) += altera_jtag_uart.o
COBJS-$(CONFIG_ARM_DCC) += arm_dcc.o COBJS-$(CONFIG_ARM_DCC) += arm_dcc.o
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment