summaryrefslogtreecommitdiff
path: root/drivers/serial/Makefile
diff options
context:
space:
mode:
authorAneesh V <aneesh@ti.com>2011-07-13 05:11:06 +0000
committerWolfgang Denk <wd@denx.de>2011-07-26 14:44:25 +0200
commit05bad4aa567ccffaac128d9090abde245f8463d1 (patch)
treea962bdba0ed6f1079b82150abbc722242c1c7f28 /drivers/serial/Makefile
parent5253418a77bb389d9fb272323adb9b7e5e7e99cf (diff)
downloadu-boot-imx-05bad4aa567ccffaac128d9090abde245f8463d1.zip
u-boot-imx-05bad4aa567ccffaac128d9090abde245f8463d1.tar.gz
u-boot-imx-05bad4aa567ccffaac128d9090abde245f8463d1.tar.bz2
scaled down version of generic libraries for SPL
Signed-off-by: Aneesh V <aneesh@ti.com>
Diffstat (limited to 'drivers/serial/Makefile')
-rw-r--r--drivers/serial/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile
index 0e171b6..1dcc1c7 100644
--- a/drivers/serial/Makefile
+++ b/drivers/serial/Makefile
@@ -55,7 +55,10 @@ COBJS-$(CONFIG_S3C44B0_SERIAL) += serial_s3c44b0.o
COBJS-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o
COBJS-$(CONFIG_SCIF_CONSOLE) += serial_sh.o
COBJS-$(CONFIG_TEGRA2) += serial_tegra2.o
+
+ifndef CONFIG_SPL_BUILD
COBJS-$(CONFIG_USB_TTY) += usbtty.o
+endif
COBJS := $(sort $(COBJS-y))
SRCS := $(COBJS:.o=.c)