summaryrefslogtreecommitdiffstats
path: root/board/efikamx/Makefile
diff options
context:
space:
mode:
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))
OpenPOWER on IntegriCloud