summaryrefslogtreecommitdiff
path: root/board/efikamx/Makefile
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-06-24 21:46:07 +0200
committerRemy Bohmer <linux@bohmer.net>2011-12-11 14:50:14 +0100
commitd98d8bc1c913a5a1aea6b17365f90c430d1fc95a (patch)
tree876ebe9fefa2ddfdc24bee921334a5c475c62d91 /board/efikamx/Makefile
parentf93022c3b11f191141c9128ee88d297cec3b9330 (diff)
USB: efikamx: Enable USB on EfikaMX and EfikaSB
Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Remy Bohmer <linux@bohmer.net> Cc: Wolfgang Grandegger <wg@denx.de> Cc: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'board/efikamx/Makefile')
-rw-r--r--board/efikamx/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/efikamx/Makefile b/board/efikamx/Makefile
index bd1056e00d..fdd188ecfc 100644
--- a/board/efikamx/Makefile
+++ b/board/efikamx/Makefile
@@ -29,6 +29,10 @@ LIB = $(obj)lib$(BOARD).o
COBJS := efikamx.o
+ifdef CONFIG_CMD_USB
+COBJS += efikamx-usb.o
+endif
+
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))