]> git.sur5r.net Git - u-boot/blobdiff - board/ti/sdp4430/Makefile
Merge branch 'for-v2013.04'
[u-boot] / board / ti / sdp4430 / Makefile
index 12f2743d49392c0a61a88bc9e2487a2c20ab4c64..72ad3eb07fef6a08c09b34760708a449b991f69f 100644 (file)
@@ -25,8 +25,10 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)lib$(BOARD).o
 
+COBJS  := sdp.o
+
 ifndef CONFIG_SPL_BUILD
-COBJS  := sdp.o cmd_bat.o
+COBJS  += cmd_bat.o
 endif
 
 SRCS   := $(COBJS:.o=.c)
@@ -35,12 +37,6 @@ OBJS := $(addprefix $(obj),$(COBJS))
 $(LIB):        $(obj).depend $(OBJS)
        $(call cmd_link_o_target, $(OBJS))
 
-clean:
-       rm -f $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak $(obj).depend
-
 #########################################################################
 
 # defines $(obj).depend target