]> git.sur5r.net Git - u-boot/blobdiff - board/denx/m28evk/Makefile
iMX28: Fix ARM vector handling
[u-boot] / board / denx / m28evk / Makefile
index e6aba9abfcc97f5e8f368f96297a1f37554666b0..47229e6ca9dd29c6e287abb4ac790145c3f9a8fc 100644 (file)
@@ -25,7 +25,13 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)lib$(BOARD).o
 
+ifndef CONFIG_SPL_BUILD
 COBJS  := m28evk.o
+endif
+
+ifdef  CONFIG_SPL_BUILD
+COBJS  := mem_init.o mmc_boot.o power_init.o
+endif
 
 SRCS   := $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
@@ -33,6 +39,8 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 $(LIB):        $(obj).depend $(OBJS)
        $(call cmd_link_o_target, $(OBJS))
 
+all:   $(ALL)
+
 #########################################################################
 
 # defines $(obj).depend target