summaryrefslogtreecommitdiff
path: root/drivers/serial/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-11 20:26:52 -0500
committerWolfgang Denk <wd@denx.de>2009-02-21 22:49:53 +0100
commitb4746d8bf9f4ed6dc8a76c5d52db669604aff84b (patch)
tree37f192d40929a07a02b141a63580a61d936b15e1 /drivers/serial/Makefile
parent6bcb4b806cef8a5dd08fac9a4a672b96d9ee804e (diff)
downloadu-boot-imx-b4746d8bf9f4ed6dc8a76c5d52db669604aff84b.zip
u-boot-imx-b4746d8bf9f4ed6dc8a76c5d52db669604aff84b.tar.gz
u-boot-imx-b4746d8bf9f4ed6dc8a76c5d52db669604aff84b.tar.bz2
drivers/serial/ns16550: move ifdef into Makefile COBJS-$(...)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/serial/Makefile')
-rw-r--r--drivers/serial/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile
index b6fd0d7..0f980ab 100644
--- a/drivers/serial/Makefile
+++ b/drivers/serial/Makefile
@@ -28,10 +28,10 @@ LIB := $(obj)libserial.a
COBJS-$(CONFIG_ATMEL_USART) += atmel_usart.o
COBJS-$(CONFIG_MCFUART) += mcfuart.o
COBJS-$(CONFIG_NS9750_UART) += ns9750_serial.o
-COBJS-y += ns16550.o
+COBJS-$(CONFIG_SYS_NS16550) += ns16550.o
COBJS-$(CONFIG_DRIVER_S3C4510_UART) += s3c4510b_uart.o
COBJS-$(CONFIG_S3C64XX) += s3c64xx.o
-COBJS-y += serial.o
+COBJS-$(CONFIG_SYS_NS16550_SERIAL) += serial.o
COBJS-$(CONFIG_IXP_SERIAL) += serial_ixp.o
COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o
COBJS-$(CONFIG_PL010_SERIAL) += serial_pl01x.o