]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/ppmc8260/Makefile
qoriq/p1_p2_rdb_pc: USB device-tree fixups for P1020
[karo-tx-uboot.git] / board / ppmc8260 / Makefile
index e17cb7a4e2b33a98582f678cee6f242ff57ea963..13bbcc7c2b336de827cb3301d4b0ee90e21e65fb 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,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) crv $@ $(OBJS)
-
-clean:
-       rm -f $(SOBJS) $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak .depend
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################