diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-08-02 23:48:30 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-03 02:24:52 +0200 |
commit | 81091f58f0c58ecd26c5b05de2ae20ca6cdb521c (patch) | |
tree | fc05bf5db93e5a9c1712d24a5efdff94685063c2 /drivers/serial/Makefile | |
parent | 4cd7e6528f61ec669755c3754bb4f9779874fab3 (diff) | |
download | u-boot-imx-81091f58f0c58ecd26c5b05de2ae20ca6cdb521c.zip u-boot-imx-81091f58f0c58ecd26c5b05de2ae20ca6cdb521c.tar.gz u-boot-imx-81091f58f0c58ecd26c5b05de2ae20ca6cdb521c.tar.bz2 |
drivers/serial: Move conditional compilation to Makefile for CONFIG_* macros
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/serial/Makefile')
-rw-r--r-- | drivers/serial/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile index c9e797e..de6fbab 100644 --- a/drivers/serial/Makefile +++ b/drivers/serial/Makefile @@ -25,18 +25,18 @@ include $(TOPDIR)/config.mk LIB := $(obj)libserial.a -COBJS-y += atmel_usart.o -COBJS-y += mcfuart.o +COBJS-$(CONFIG_ATMEL_USART) += atmel_usart.o +COBJS-$(CONFIG_MCFUART) += mcfuart.o COBJS-y += ns9750_serial.o COBJS-y += ns16550.o -COBJS-y += s3c4510b_uart.o +COBJS-$(CONFIG_DRIVER_S3C4510_UART) += s3c4510b_uart.o COBJS-y += serial.o -COBJS-y += serial_max3100.o +COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o COBJS-y += serial_pl010.o COBJS-y += serial_pl011.o -COBJS-y += serial_xuartlite.o +COBJS-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o COBJS-y += serial_sh.o -COBJS-y += usbtty.o +COBJS-$(CONFIG_USB_TTY) += usbtty.o COBJS := $(COBJS-y) SRCS := $(COBJS:.o=.c) |