]> git.sur5r.net Git - u-boot/blobdiff - board/ti/am335x/Makefile
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[u-boot] / board / ti / am335x / Makefile
index e3609bc026e47b79f789ed6d7d0d0ee5732f0743..67a87a1aafd4b53b601ed80e2a27e9cb44ff0b9f 100644 (file)
@@ -18,8 +18,11 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)lib$(BOARD).o
 
+ifdef CONFIG_SPL_BUILD
 COBJS  := mux.o
+endif
 
+COBJS  += board.o
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))