summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-09-14 23:46:48 +0200
committerTom Rini <trini@ti.com>2012-10-15 11:53:59 -0700
commitc1f5805a9dd5ea50b108e1d39a16edf710ea17e6 (patch)
tree699998fe042fe046c0bd182d60b7a4993c263b65 /drivers
parent036036d79c8535342594ab362143416d6a9bd11e (diff)
downloadu-boot-imx-c1f5805a9dd5ea50b108e1d39a16edf710ea17e6.zip
u-boot-imx-c1f5805a9dd5ea50b108e1d39a16edf710ea17e6.tar.gz
u-boot-imx-c1f5805a9dd5ea50b108e1d39a16edf710ea17e6.tar.bz2
serial: Compile drivers/serial/serial.c by default
Compile drivers/serial/serial.c by default both into SPL and into non-SPL builds, since CONFIG_SERIAL_MULTI is now the default state. Also having common/serial.c in by default now, it's pointless to keep -DCONFIG_SERIAL_MULTI in CPPFLAGS any longer, so remove it as well. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com> Cc: Anatolij Gustschin <agust@denx.de> Cc: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile
index cc14453..3c32f97 100644
--- a/drivers/serial/Makefile
+++ b/drivers/serial/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libserial.o
-COBJS-$(CONFIG_SERIAL_MULTI) += serial.o
+COBJS-y += serial.o
COBJS-$(CONFIG_ALTERA_UART) += altera_uart.o
COBJS-$(CONFIG_ALTERA_JTAG_UART) += altera_jtag_uart.o