summaryrefslogtreecommitdiff
path: root/board/ti/am335x/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/am335x/Makefile')
-rw-r--r--board/ti/am335x/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/ti/am335x/Makefile b/board/ti/am335x/Makefile
index e3609bc..ca50eef 100644
--- a/board/ti/am335x/Makefile
+++ b/board/ti/am335x/Makefile
@@ -18,7 +18,9 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
+ifdef CONFIG_SPL_BUILD
COBJS := mux.o
+endif
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))