]> git.sur5r.net Git - u-boot/blobdiff - board/spear/spear600/Makefile
hawkboard: Replace HAWKBOARD_KICK{0, 1}_UNLOCK defines
[u-boot] / board / spear / spear600 / Makefile
old mode 100755 (executable)
new mode 100644 (file)
index 1978002..e2bd5ab
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := spear600.o
 SOBJS  :=
@@ -33,13 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
-
-clean:
-       rm -f $(SOBJS) $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak $(obj).depend
+       $(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
 #########################################################################