diff options
Diffstat (limited to 'board/ti/am335x/Makefile')
-rw-r--r-- | board/ti/am335x/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/ti/am335x/Makefile b/board/ti/am335x/Makefile index d58b1859f4..ca50eef613 100644 --- a/board/ti/am335x/Makefile +++ b/board/ti/am335x/Makefile @@ -18,7 +18,9 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(BOARD).o -COBJS := evm.o mux.o +ifdef CONFIG_SPL_BUILD +COBJS := mux.o +endif SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) |