]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/ppmc8260/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-imx
[people/ms/u-boot.git] / board / ppmc8260 / Makefile
index e17cb7a4e2b33a98582f678cee6f242ff57ea963..0141ea66016336c1d086712c620921b4ec564742 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := ppmc8260.o
 
@@ -32,13 +32,13 @@ OBJS        := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) crv $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 clean:
        rm -f $(SOBJS) $(OBJS)
 
 distclean:     clean
-       rm -f $(LIB) core *.bak .depend
+       rm -f $(LIB) core *.bak $(obj).depend
 
 #########################################################################