summaryrefslogtreecommitdiff
path: root/drivers/serial/Makefile
diff options
context:
space:
mode:
authorAndreas Engel <andreas.engel@ericsson.com>2008-09-08 14:30:53 +0200
committerWolfgang Denk <wd@denx.de>2008-09-09 14:42:02 +0200
commit48d0192fe869948fef14b460b5f0c85bca933693 (patch)
treebfa442b8a1db5ab3fa7aa4f33abdc8f36eb986e2 /drivers/serial/Makefile
parent20c9226cb8cab08a111ee73db04e62d943ee0c97 (diff)
downloadu-boot-imx-48d0192fe869948fef14b460b5f0c85bca933693.zip
u-boot-imx-48d0192fe869948fef14b460b5f0c85bca933693.tar.gz
u-boot-imx-48d0192fe869948fef14b460b5f0c85bca933693.tar.bz2
Moved conditional compile into Makefile
Signed-off-by: Andreas Engel <andreas.engel@ericsson.com>
Diffstat (limited to 'drivers/serial/Makefile')
-rw-r--r--drivers/serial/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile
index 3cc1999..b370828 100644
--- a/drivers/serial/Makefile
+++ b/drivers/serial/Makefile
@@ -33,7 +33,8 @@ COBJS-$(CONFIG_DRIVER_S3C4510_UART) += s3c4510b_uart.o
COBJS-$(CONFIG_S3C64XX) += s3c64xx.o
COBJS-y += serial.o
COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o
-COBJS-y += serial_pl01x.o
+COBJS-$(CONFIG_PL010_SERIAL) += serial_pl01x.o
+COBJS-$(CONFIG_PL011_SERIAL) += serial_pl01x.o
COBJS-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o
COBJS-$(CONFIG_SCIF_CONSOLE) += serial_sh.o
COBJS-$(CONFIG_USB_TTY) += usbtty.o